-
-
21 Aug 2012 04:33:25 UTC
- Distribution: Server-Control
- Module version: 0.20
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (2)
- Testers (137 / 25 / 0)
- Kwalitee
Bus factor: 0- % Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (37KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Apache::ConfigParser
- Capture::Tiny
- File::Slurp
- File::Spec::Functions
- File::Temp
- File::Which
- Getopt::Long
- Hash::MoreUtils
- IO::Socket
- IPC::System::Simple
- List::MoreUtils
- Log::Any::Adapter::Dispatch
- Moose
- MooseX::StrictConstructor
- Pod::Usage
- Proc::ProcessTable
- Time::HiRes
- YAML::Any
- Reverse dependencies
- CPAN Testers List
- Dependency graph
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
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.
Module Install Instructions
To install Server::Control, copy and paste the appropriate command in to your terminal.
cpanm Server::Control
perl -MCPAN -e shell install Server::Control
For more information on module installation, please visit the detailed CPAN module installation guide.