What about moving into the other direction and moving the process management portion into a separate set of tools so it can be used with other daemons besides httpd? This would also improve portability of the mechanism: no worries about pid file races and staleness, differing versions of ps/kill/killall/etc. It would be great to have a BSD-licensed version of something like djb's daemontools.
-- Jos Backus _/ _/_/_/ Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ [EMAIL PROTECTED] _/_/ _/_/_/ use Std::Disclaimer;