I am starting a service (httpd) by using this command:/etc/init.d/'name of service' startHow can I start a service by using the command below, if service keyword is not configure for above httpd service?2)service 'nameofservice' start e.g: service httpd startHow can I configure a service which can start and stop by using service keyword i.e: service 'nameofservice' start (service keyword like in option 2) instead of /etc/init.d/nameofservice?
How can I start and stop a service by using the service command, instead of /etc/init.d/nameofservice start?
linux;centos