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

Add support for quiet in Upstart

This commit is contained in:
Mike Perham 2015-07-15 12:39:44 -07:00
parent 8b29f3d201
commit 751488250e
2 changed files with 5 additions and 0 deletions

View file

@ -11,6 +11,10 @@
# sudo stop sidekiq index=0
# sudo status sidekiq index=0
#
# Hack Upstart's reload command to 'quiet' Sidekiq:
#
# sudo reload sidekiq index=0
#
# or use the service command:
# sudo service sidekiq {start,stop,restart,status}
#
@ -33,6 +37,7 @@ respawn limit 3 30
# TERM is sent by sidekiqctl when stopping sidekiq. Without declaring these as
# normal exit codes, it just respawns.
normal exit 0 TERM
reload signal USR1
instance $index