無限健一 > Unicorn-Manager-0.006009 > uc.pl

Download:
Unicorn-Manager-0.006009.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

uc.pl - A Perl script to manage instances of the Unicorn webserver

WARNING! ^

This is an unstable development release not ready for production!

VERSION ^

Version 0.006009

SYNOPSIS ^

uc.pl is included in the Unicorn::Manager package.

USAGE ^

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

AUTHOR ^

Mugen Kenichi, <mugen.kenichi at uninets.eu>

BUGS ^

Report bugs at:

SUPPORT ^

syntax highlighting: