mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 21:29:29 +02:00
#2824 add Restart=on-failure for nginx
This commit is contained in:
parent
ff3007c782
commit
17524cfb10
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user