mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-23 17:16:40 +01:00
Merge pull request #1823 from klingtnet/systemd-restart-limit-fix
Fix restart restart behaviour of the systemd service
This commit is contained in:
commit
261547b42c
1 changed files with 1 additions and 3 deletions
4
dist/init/linux-systemd/caddy.service
vendored
4
dist/init/linux-systemd/caddy.service
vendored
|
@ -5,9 +5,7 @@ After=network-online.target
|
||||||
Wants=network-online.target systemd-networkd-wait-online.service
|
Wants=network-online.target systemd-networkd-wait-online.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Restart=on-failure
|
Restart=on-abnormal
|
||||||
StartLimitInterval=86400
|
|
||||||
StartLimitBurst=5
|
|
||||||
|
|
||||||
; User and group the process will run as.
|
; User and group the process will run as.
|
||||||
User=www-data
|
User=www-data
|
||||||
|
|
Loading…
Reference in a new issue