You need to use the following command
#/etc/init.d/apache2 graceful
This will gracefully restart your Apache with new configuration without affecting your client’s connections.
You need to use the following command
#/etc/init.d/apache2 graceful
This will gracefully restart your Apache with new configuration without affecting your client’s connections.
| © 2011 Debian Admin |
Hey,
Yet another new apache command for me,
Thanks, I’ve learned alot :>
~ Tony
Hi,
Shouldn’t it be: # apache2ctl graceful
On my Debian install (Lenny), if I type:
# /etc/init.d/apache2 graceful
I simply get:
Usage: /etc/init.d/apache2 {start|stop|restart|reload|force-reload|start-htcacheclean|stop-htcacheclean|status}.
Which version of Debian are you referring to?
Regards
Pierrick
on debian you use reload or force-reload. These do graceful