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:
parent
8b29f3d201
commit
751488250e
2 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
Loading…
Add table
Reference in a new issue