mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
shutdown all upstart instances on workers stop
This commit is contained in:
parent
5adbc24cbe
commit
7e43f70ff4
1 changed files with 7 additions and 0 deletions
|
@ -28,3 +28,10 @@ pre-start script
|
||||||
start sidekiq index=$i
|
start sidekiq index=$i
|
||||||
done
|
done
|
||||||
end script
|
end script
|
||||||
|
|
||||||
|
post-stop script
|
||||||
|
for i in `seq 1 ${NUM_WORKERS}`
|
||||||
|
do
|
||||||
|
stop sidekiq index=$i
|
||||||
|
done
|
||||||
|
end script
|
||||||
|
|
Loading…
Reference in a new issue