diff --git a/Config/HugoExample/files/main.sh b/Config/HugoExample/files/main.sh index 215a7d4..2f7d038 100644 --- a/Config/HugoExample/files/main.sh +++ b/Config/HugoExample/files/main.sh @@ -69,7 +69,7 @@ if [[ "$DEV" == "Y"* || "$DEV" == "T"* ]]; then echo "* Dev server not detected, starting..." cd $SITE killall hugo 2>/dev/null - sudo -u www-data hugo server -D --noBuildLock --bind 0.0.0.0 -p 1380 & + sudo -u www-data hugo server -D -F --noBuildLock --bind 0.0.0.0 -p 1380 & fi sleep 30 done & @@ -90,3 +90,13 @@ echo "*** Finished $0 @ `date` ***" wait -n exit $? +ww-data +tail -f mail www-data & + +cd + +echo "*** Finished $0 @ `date` ***" + +wait -n + +exit $?