mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-16 21:56:40 -05: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
|
||||
|
||||
[Service]
|
||||
Restart=on-failure
|
||||
StartLimitInterval=86400
|
||||
StartLimitBurst=5
|
||||
Restart=on-abnormal
|
||||
|
||||
; User and group the process will run as.
|
||||
User=www-data
|
||||
|
|
Loading…
Reference in a new issue