Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kick out trollop #126

Merged
merged 1 commit into from Oct 5, 2015
Merged

kick out trollop #126

merged 1 commit into from Oct 5, 2015

Conversation

grosser
Copy link
Contributor

@grosser grosser commented Oct 5, 2015

1 less dependency and gives a little bit more fine-grained control :)

@nevans

before:

./bin/resque-pool -h
resque-pool is the best way to manage a group (pool) of resque workers

When daemonized, stdout and stderr default to resque-pool.stdxxx.log files in
the log directory and pidfile defaults to resque-pool.pid in the current dir.

Usage:
   resque-pool [options]
where [options] are:
  -c, --config=<s>              Alternate path to config file
  -a, --appname=<s>             Alternate appname
  -d, --daemon                  Run as a background daemon
  -o, --stdout=<s>              Redirect stdout to logfile
  -e, --stderr=<s>              Redirect stderr to logfile
  -n, --nosync                  Don't sync logfiles on every write
  -p, --pidfile=<s>             PID file location
  -E, --environment=<s>         Set RAILS_ENV/RACK_ENV/RESQUE_ENV
  -s, --spawn-delay=<i>         Delay in milliseconds between spawning missing workers
  -t, --term-graceful-wait      On TERM signal, wait for workers to shut down gracefully
  -r, --term-graceful           On TERM signal, shut down workers gracefully
  -m, --term-immediate          On TERM signal, shut down workers immediately (default)
  -i, --single-process-group    Workers remain in the same process group as the master
  -v, --version                 Print version and exit
  -h, --help                    Show this message

after:

/bin/resque-pool -h
resque-pool is the best way to manage a group (pool) of resque workers

When daemonized, stdout and stderr default to resque-pool.stdxxx.log files in
the log directory and pidfile defaults to resque-pool.pid in the current dir.

Usage:
   resque-pool [options]

where [options] are:
    -c, --config PATH                Alternate path to config file
    -a, --appname NAME               Alternate appname
    -d, --daemon                     Run as a background daemon
    -o, --stdout FILE                Redirect stdout to logfile
    -e, --stderr FILE                Redirect stderr to logfile
        --nosync                     Don't sync logfiles on every write
    -p, --pidfile FILE               PID file location
    -E, --environment ENVIRONMENT    Set RAILS_ENV/RACK_ENV/RESQUE_ENV
    -s, --spawn-delay MS             Delay in milliseconds between spawning missing workers
        --term-graceful-wait         On TERM signal, wait for workers to shut down gracefully
        --term-graceful              On TERM signal, shut down workers gracefully
        --term-immediate             On TERM signal, shut down workers immediately (default)
        --single-process-group       Workers remain in the same process group as the master
    -h, --help                       Show this.
    -v, --version                    Show Version

@nevans
Copy link
Collaborator

nevans commented Oct 5, 2015

Thanks! I had wanted to do this at some point, but it never rose to high priority.

nevans added a commit that referenced this pull request Oct 5, 2015
@nevans nevans merged commit 9100b98 into resque:master Oct 5, 2015
@grosser
Copy link
Contributor Author

grosser commented Oct 5, 2015

thx! can you release that ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants