#2824 add Restart=on-failure for nginx

This commit is contained in:
openoms 2022-01-10 14:33:15 +00:00
parent ff3007c782
commit 17524cfb10
No known key found for this signature in database
GPG Key ID: 5BFB77609B081B65

View File

@ -43,6 +43,11 @@ elif [ "$1" = "1" ] || [ "$1" = "on" ]; then
# DO NOT EDIT! This file is generate by raspiblitz and will be overwritten
[Unit]
After=network.target nss-lookup.target mnt-hdd.mount
[Service]
Restart=on-failure
TimeoutSec=120
RestartSec=60
EOF
# make sure that it is enabled and started