The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Server::Control::Nginx -- Control Nginx

VERSION

version 0.19

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.