NAME

Server::Control -- Flexible apachectl style control for servers

VERSION

version 0.15

SYNOPSIS

use Server::Control::Apache;

        my $apache = Server::Control::Apache->new(
            conf_file => '/my/apache/dir/conf/httpd.conf'
        );
        if ( !$apache->is_running() ) {
            $apache->start();
        }

DESCRIPTION

`Server::Control' allows you to control servers in the spirit of apachectl, where a server is any background process which listens to a port and has a pid file. It is designed to be subclassed for different types of servers.

The original motivation was to eliminate all those little annoyances that can occur when starting and stopping a server doesn't quite go right.

FEATURES

AVAILABLE SUBCLASSES

The following subclasses are currently available as part of this

distribution

These will probably be moved into their own distributions once the implementation stabilizes.

RELATED MODULES

TO DO

ACKNOWLEDGMENTS

This module was developed for the Digital Media group of the Hearst Corporation, a diversified media company based in New York City. Many thanks to Hearst management for agreeing to this open source release.

SEE ALSO

serverctlp, Server::Control::Apache

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Jonathan Swartz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.