Add the creation of future articles on DEV hugo systems.

This commit is contained in:
2026-01-09 11:32:53 -07:00
parent 0371059706
commit fd3fc6eb41

View File

@@ -69,7 +69,7 @@ if [[ "$DEV" == "Y"* || "$DEV" == "T"* ]]; then
echo "* Dev server not detected, starting..." echo "* Dev server not detected, starting..."
cd $SITE cd $SITE
killall hugo 2>/dev/null 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 fi
sleep 30 sleep 30
done & done &
@@ -90,3 +90,13 @@ echo "*** Finished $0 @ `date` ***"
wait -n wait -n
exit $? exit $?
ww-data
tail -f mail www-data &
cd
echo "*** Finished $0 @ `date` ***"
wait -n
exit $?