From 5323b6647f3b4815636d768159c2a50c59ee68b5 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Fri, 15 Aug 2025 11:49:00 -0700 Subject: [PATCH] Change restart loop timers. --- Config/HugoExample/files/main.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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