in reply to Re: starting/stopping a daemon from Apache/mod_perl?
in thread starting/stopping a daemon from Apache/mod_perl?

It doesn't matter how to kill the daemon, system() or kill() or something else...

The problem is to stop the daemon out of the Apache.

If I type "apachectl stop" or "kill <APACHEPID>" I want to trigger an event in the Apache (system, kill...) that stops my daemon.
  • Comment on Re: Re: starting/stopping a daemon from Apache/mod_perl?

Replies are listed 'Best First'.
Re: starting/stopping a daemon from Apache/mod_perl?
by Abigail-II (Bishop) on Jul 12, 2003 at 22:37 UTC
    That is a question that has nothing to do with Perl or perl, and all with Apache. You will have more luck asking this question in forum where this kind of questions are on-topic.

    Abigail

      It's not offtopic, see some posts below for a working solution, which is in fact pure perl! :)