>>>>> "Perrin" == Perrin Harkins <[EMAIL PROTECTED]> writes:

Perrin> It's a bad idea to use HUP with mod_perl anyway.  You should always
Perrin> fully stop and restart your servers.

Right... as the caffiene kicks in this morning, that's what I recall
actually happens.

The relevant code from my GNUMakefile:

    FINALstopstart: FINAL
            $I/sbin/apachectl stop
            while [ -f $I/var/run/httpd.pid ]; do sleep 1; done
            $I/sbin/apachectl start

This isn't failsafe... we expect a human will invoke this, and take an
alternate path if the pid file doesn't disappear in a reasonable time.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


Reply via email to