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

Added comments in upstart sidekiq.conf files about normal exit codes to avoid unintentional respawns.

This commit is contained in:
August Jaenicke 2013-10-03 11:18:05 -07:00
parent df6be98ffb
commit f18aea4914
2 changed files with 6 additions and 0 deletions

View file

@ -27,6 +27,9 @@ stop on (stopping sidekiq-manager or runlevel [06])
respawn
respawn limit 3 30
# TERM and USR1 are sent by sidekiqctl when stopping sidekiq. Without declaring these as normal exit codes, it just respawns.
#normal exit 0 TERM USR1
instance ${app}-${index}
script

View file

@ -27,6 +27,9 @@ setgid deploy
respawn
respawn limit 3 30
# TERM and USR1 are sent by sidekiqctl when stopping sidekiq. Without declaring these as normal exit codes, it just respawns.
#normal exit 0 TERM USR1
instance $index
script