linux - fix /var/log and typo in daemon directive

This commit is contained in:
bunkerity
2021-06-23 14:26:33 +02:00
parent 4991922878
commit 98568a57c9
2 changed files with 17 additions and 1 deletions

View File

@@ -42,7 +42,7 @@ if [ -f "/tmp/nginx.pid" ] ; then
# Otherwise start it
else
echo "[*] Start nginx"
do_and_check_cmd "nginx -g 'daemon off;'"
do_and_check_cmd "nginx -g 'daemon on;'"
fi
# Run post-jobs