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

Merge pull request #2078 from pote/improve_bash_in_upstart_example

More readable for loop in upstart example
This commit is contained in:
Mike Perham 2014-12-07 15:11:44 -08:00
commit 811f005d56

View file

@ -23,7 +23,7 @@ stop on runlevel [06]
env NUM_WORKERS=2
pre-start script
for i in `seq 0 $((${NUM_WORKERS} - 1))`
for i in `seq 1 ${NUM_WORKERS}`
do
start sidekiq index=$i
done