Caddy: Restart on failure instead of abnormal only
This commit is contained in:
parent
e9a8c2cc86
commit
3c1939f431
|
@ -4,7 +4,7 @@ Documentation=https://caddyserver.com/docs
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Restart=on-abnormal
|
Restart=on-failure
|
||||||
|
|
||||||
User=www-data
|
User=www-data
|
||||||
Group=www-data
|
Group=www-data
|
||||||
|
|
Loading…
Reference in a new issue