uc.pl - A Perl script to manage instances of the Unicorn webserver
This is an unstable development release not ready for production!
Version 0.006007
uc.pl is included in the Unicorn::Manager package.
The help and usage information of uc.pl
Synopsis uc.pl [action] [options] Actions help show this help show dumps a structure of user ids and the process ids of masters and their children start starts a users unicorn server, requires --config to be specified stop stops unicorn restart gracefully restarts unicorn reload reload unicorn add_worker adds a unicorn worker rm_worker removes a unicorn worker version print Unicorn::Manager version query to be implemented Options -u, --user username of unicorns owner (can be ommited if user is not root) -c, --config path to the unicorn config file --args optional additional arguments used with action 'start' overrides options of the config file see section Examples for proper usage "-D" is set default --debug flag to enable debug output --rails defaults to 1 for now. so it has no effect at all Examples uc.pl show uc.pl start -u railsuser -c /home/railsuser/app/unicorn.rb --args "--listen 0.0.0.0:80, -D" uc.pl restart -u railsuser uc.pl add_worker
Mugen Kenichi, <mugen.kenichi at uninets.eu>
<mugen.kenichi at uninets.eu>
Report bugs at:
Unicorn::Manager issue tracker
https://github.com/mugenken/Unicorn/issues
support at uninets.eu
Technical support
To install Unicorn::Manager::CLI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Unicorn::Manager::CLI
CPAN shell
perl -MCPAN -e shell install Unicorn::Manager::CLI
For more information on module installation, please visit the detailed CPAN module installation guide.