The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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.