1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-08 04:04:18 +02:00
dockerfiles/renderjs/restart.sh
2014-12-01 21:19:52 +08:00

14 lines
206 B
Bash
Executable File

#!/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