Skip to content

Commit

Permalink
Added documentation of daemonization
Browse files Browse the repository at this point in the history
  • Loading branch information
cleishm committed Aug 24, 2011
1 parent 60b157d commit 39d51cb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.markdown
Expand Up @@ -265,6 +265,14 @@ worker process. Use the PIDFILE option for easy access to the PID:

$ PIDFILE=./resque.pid QUEUE=file_serve rake environment resque:work

### Running in the background

There are scenarios where it's helpful for the resque worker to run
itself in the background (usually in combination with PIDFILE). Use the
BACKGROUND option so that rake will return as soon as the worker is started.

$ PIDFILE=./resque.pid BACKGROUND=yes QUEUE=file_serve \
rake environment resque:work

### Priorities and Queue Lists

Expand Down

0 comments on commit 39d51cb

Please sign in to comment.