diff --git a/Config/HugoExample/files/main.sh b/Config/HugoExample/files/main.sh index beb9070..75bad27 100644 --- a/Config/HugoExample/files/main.sh +++ b/Config/HugoExample/files/main.sh @@ -28,7 +28,7 @@ if [[ "$PROD" == "Y"* || "$PROD" == "T"* ]]; then echo "* Prod server not detected, starting..." service nginx start } - sleep 30 + sleep 15 done & cd /var/log/nginx @@ -45,7 +45,7 @@ if [[ "$DEV" == "Y"* || "$DEV" == "T"* ]]; then killall hugo 2>/dev/null sudo -u hugo hugo server -D --noBuildLock --bind 0.0.0.0 -p 1380 & } - sleep 10 + sleep 30 done & fi