Whenever I need to restart Apache on my RHEL VPS, I type sudo /sbin/service httpd restart. However I notice a lot of articles suggest using sudo /etc/init.d httpd restart.
Is there any difference? If there is, when I should use each one?
|
feedback
|
|
From the man page:
It then calls the | |||
|
feedback
|
|
My advice would be to use whatever you want whenever you're actually logged in to the machine, and use | |||||||||
feedback
|
|
Using | |||
|
feedback
|