Stas Bekman <[EMAIL PROTECTED]> wrote: > It restores the perms if it has changed them. It needs to do that, > regardless of whether the server was stopped - since it may not be stopped > at all. > > Usually you use t/conf/modperl_extra.pl to do anything you need to happen > at the startup and an END block (registered in the same file) for > shutdown. Just remember that Apache is not very reliable when it comes to > shutdown, since it will wait a bit and then kill the process outright.
... which is *exactly* why I wanted to wrap this around the apache start/stop instead of putting it inside. :) After digging around a bit, it looks like I just have to attach myself to the "stop-httpd" option instead of the "stop" method, but that's getting less obvious and more deep into an undocumented API. Thanks, Tyler