On 2010-03-12, David Coppa <dco...@gmail.com> wrote: > On Thu, Mar 11, 2010 at 10:39 PM, Denis Doroshenko ><denis.doroshe...@gmail.com> wrote: > >> it may fail in case one uses -d and/or -f flags to the httpd (e.g. >> sets them in /etc/rc.conf or /etc/rc.conf.local) > > This doesn't obey to -d too: > > # the path to your PID file > PIDFILE=/var/www/logs/httpd.pid > > the problem is apachectl being generally crappy!
I don't think there's much point in having apachectl parse enough to work this out, but maybe it's worth checking if httpd is still running after the HUP and printing a simple warning if not..