1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-12 04:23:04 +02:00
dockerfiles/renderjs/restart.sh

14 lines
206 B
Bash
Raw Normal View History

2014-12-01 15:19:52 +02:00
#!/bin/bash
#
# restart renderjs instances one by one forever
#
while :
do
for ((i=8080; i<8090; i++))
do
sleep 30
/usr/bin/supervisorctl restart renderjs:renderjs-$i
done
done