1
0
Fork 0
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:
Maksym Pugach 2015-07-08 15:21:02 +03:00
parent 5adbc24cbe
commit 7e43f70ff4

View file

@ -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