Skip to content

Commit

Permalink
Merge pull request sidekiq#2282 from robinboening/master
Browse files Browse the repository at this point in the history
Add start on certain runlevel for example configs , closes sidekiq#2281
  • Loading branch information
seuros committed Apr 2, 2015
2 parents bc22848 + 9d1d94d commit f3f282c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions examples/upstart/manage-many/sidekiq.conf
Expand Up @@ -17,8 +17,9 @@

description "Sidekiq Background Worker"

# no "start on", we don't want to automatically start
stop on (stopping sidekiq-manager or runlevel [06])
# This starts upon bootup and stops on shutdown
start on runlevel [2345]
stop on runlevel [06]

# change apps to match your deployment user if you want to use this as a less privileged user (recommended!)
# setuid deploy
Expand Down
5 changes: 3 additions & 2 deletions examples/upstart/manage-one/sidekiq.conf
Expand Up @@ -17,8 +17,9 @@

description "Sidekiq Background Worker"

# no "start on", we don't want to automatically start
stop on (stopping workers or runlevel [06])
# This starts upon bootup and stops on shutdown
start on runlevel [2345]
stop on runlevel [06]

# change to match your deployment user
# setuid deploy
Expand Down

0 comments on commit f3f282c

Please sign in to comment.