Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: stiperstones on January 22, 2006, 09:28:06 PM
-
Hi all
what is the command to restart restart-httpd-graceful in sme7.0pre
This one does not work
/etc/e-smith/events/actions/restart-httpd-graceful
-
What I found to use is
httpd -k restart
I don't know is that is the truly graceful way, but it works
Bob
-
I use:
service httpd-admin restart
service httpd-e-smith restart
-
I use:
service httpd-admin restart
service httpd-e-smith restart
Thanks gizzmo2k1
I always seem to get the answer in the forum again thanks
-
Hi,
I wouldn't use service httpd-e-smith restart as it is deprecated and you may not start all the correct services (due to sme templating)
The correct way would be to do...
/etc/rc7.d/S86httpd-emith restart
Doing it the above way will be the way to do it
-
/etc/rc7.d/S86httpd-emith restart
Very close. You'll actuall want:
/etc/rc7.d/S86httpd-emith sigusr1
The distinction is fine - "sigusr1" does the equivalent of "graceful" - it doesn't interrupt existing transfers.
"signal-event remoteaccess-update" is a simple way to reconfigure apache without needing to know any details.
-
To all
Thank you all for the answers and to CharlieBrady for the correct way to issue the command.