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:
commit
f3f282cad0
2 changed files with 6 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue