Jonathan Swartz > Server-Control-0.20 > Server::Control::Nginx

Download:
Server-Control-0.20.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  2
View/Report Bugs
Module Version: 0.20   Source  

NAME ^

Server::Control::Nginx -- Control Nginx

VERSION ^

version 0.20

SYNOPSIS ^

    use Server::Control::Nginx;

    my $nginx = Server::Control::Nginx->new(
        binary_path => '/usr/sbin/nginx',
        conf_file => '/path/to/nginx.conf'
    );
    if ( !$nginx->is_running() ) {
        $nginx->start();
    }

DESCRIPTION ^

Server::Control::Nginx is a subclass of Server::Control for Nginx processes.

CONSTRUCTOR ^

In addition to the constructor options described in Server::Control:

conf_file

Path to conf file - required.

SEE ALSO ^

Server::Control

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.

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.

syntax highlighting: