a better apachectl?

2009-06-05 Thread Jonathan Swartz
Over the years I've developed (as I'm sure many have :)) a small home- grown replacement for apachectl, to make start/stop/restart easier. It's in library form, and among other things it * detects whether the server is actually running, by contacting the port * waits to make sure the server

Re: a better apachectl?

2009-06-05 Thread Jonathan Swartz
Since writing this, I found two relevant entries on CPAN: * App::Control - Same basic idea, but doesn't have the server-specific features - also not easily subclassable, as all commands are handled in a giant case statement :) * Lighttpd::Control - Same basic idea, but just for lighttpd,

Re: a better apachectl?

2009-06-05 Thread Perrin Harkins
On Fri, Jun 5, 2009 at 5:21 PM, Jonathan Swartzswa...@pobox.com wrote: Over the years I've developed (as I'm sure many have :)) a small home-grown replacement for apachectl, to make start/stop/restart easier. I've written a few of those :) Most of mine have too many assumptions to make them