Post-rotation Command for Virtualmin 3.78 (Apache)

Hey guys, I was wondering why on the newer versions of Virtualmin you guys use...

/etc/rc.d/init.d/httpd restart

instead of

/usr/sbin/apachectl graceful

The former will crash Apache if it was to rotate more than 2 websites saying that Apache can't bind the IP address.

Status: 
Closed (fixed)

Comments

We will use whatever command is set at Webmin -> Servers -> Apache Webserver -> Module Config -> Command to re-read configuration. If this isn't set to /usr/sbin/apachectl graceful on your system, you can change it.

If running /etc/rc.d/init.d/httpd restart causes Apache to crash, that sounds like a bug in Apache though..

Aah thanks. Glad to know I can change it.

Automatically closed -- issue fixed for 2 weeks with no activity.