I'm using Ubuntu Server 9.04 and I've installed Apache2 on it.
I want to restart my Apache gracefully but I only can restarting it using this command:
/etc/init.d/apache2 restart
And if I'm not wrong it doesn't have graceful option parameter.
I don't have this command installed:
apachectl
thanks
Update
sudo /etc/init.d/apache2 graceful
* Usage: /etc/init.d/apache2 {start|stop|restart|reload|force-reload|start-htcacheclean|stop-htcacheclean|status}
On Ubuntu apachectl is
/usr/sbin/apache2ctl
/etc/init.d/apache2
acceptsgraceful
parameter.reload
parameter does the same. You can use either:or
to pass
graceful
parameter toapache2ctl
Edit:
It exists. look at source of
/etc/init.d/apache2
: