1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Merge pull request #2282 from robinboening/master

Add start on certain runlevel for example configs , closes #2281
This commit is contained in:
Abdelkader Boudih 2015-04-02 14:38:42 +01:00
commit f3f282cad0
2 changed files with 6 additions and 4 deletions

View file

@ -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

View file

@ -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