-
-
21 Aug 2012 04:33:25 UTC
- Distribution: Server-Control
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (2)
- Testers (135 / 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
- VERSION
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- RC FILE
- AUTHOR
- SEE ALSO
- COPYRIGHT & LICENSE
- COPYRIGHT AND LICENSE
NAME
serverctlp - apachectl style controller for servers
VERSION
version 0.20
SYNOPSIS
serverctlp -c class -k start|stop|restart|ping [-d server_root] [-v] [-q] serverctlp -h
DESCRIPTION
serverctlp
uses a Server::Control subclass to start, stop, restart or ping (show status of) a server.OPTIONS
Required options: -c and -k, and possibly others depending on subclass
-c, --class Specify the subclass of Server::Control to use -d, --server-root Specify the server root - will determine from configuration file if given -h, --help Print help message -k, --action Specify action - start, stop, restart, or ping -q, --quiet Show only errors and warnings -v, --verbose Show verbose output -I Library paths to include
In general, any constructor parameter to Server::Control to the subclass can be passed here (replacing underscores with dashes), e.g.
--name --wait-for-status-secs
RC FILE
You may place options in an rc file called serverctl.yml in the server root, e.g.
# This is my serverctl.yml use_sudo: 1 wait_for_status_secs: 5
You can also specify the path of the rc file with --serverctlrc.
AUTHOR
Jonathan Swartz
SEE ALSO
COPYRIGHT & LICENSE
Copyright (C) 2007 Jonathan Swartz.
This software is provided "as is" and without any express or implied warranties, including, without limitation, the implied warranties of merchantibility and fitness for a particular purpose.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl 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.