
neil at nilspace
Jul 23, 2008, 9:04 PM
Views: 2522
Permalink
|
|
Question re preloading embperl and apache shutdown
|
|
I am now using Apache2.2, mod_perl 2 and Embperl 2.3. I am also preloading my Embperl code via startup.pl, and finding that "apachectl stop" seems to call my preload routine even when shutting down apache, which makes it take an absurdly long time to cycle the server when I change code. This didn't use to happen with apache1.3. Is anyone aware of a way to detect from within startup.pl whether we are starting up or shutting down? Then I guess I could skip the preload myself if we're stopping... any ideas? I'm using apache, mod_perl and Embperl built from tarball sources. Thanks! Neil --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe[at]perl.apache.org For additional commands, e-mail: embperl-help[at]perl.apache.org
|