Change restart loop timers.
This commit is contained in:
@@ -28,7 +28,7 @@ if [[ "$PROD" == "Y"* || "$PROD" == "T"* ]]; then
|
|||||||
echo "* Prod server not detected, starting..."
|
echo "* Prod server not detected, starting..."
|
||||||
service nginx start
|
service nginx start
|
||||||
}
|
}
|
||||||
sleep 30
|
sleep 15
|
||||||
done &
|
done &
|
||||||
|
|
||||||
cd /var/log/nginx
|
cd /var/log/nginx
|
||||||
@@ -45,7 +45,7 @@ if [[ "$DEV" == "Y"* || "$DEV" == "T"* ]]; then
|
|||||||
killall hugo 2>/dev/null
|
killall hugo 2>/dev/null
|
||||||
sudo -u hugo hugo server -D --noBuildLock --bind 0.0.0.0 -p 1380 &
|
sudo -u hugo hugo server -D --noBuildLock --bind 0.0.0.0 -p 1380 &
|
||||||
}
|
}
|
||||||
sleep 10
|
sleep 30
|
||||||
done &
|
done &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user