mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Add start on certain runlevel for example configs
This commit is contained in:
parent
bc22848478
commit
9d1d94d45d
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…
Reference in a new issue