Ubuntu – Apache2 on Ubuntu: I don’t have installed apachectl

apache-2.2Ubuntu

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}

Best Answer

On Ubuntu apachectl is /usr/sbin/apache2ctl