1
Fork 0
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:
Matt Holt 2017-08-13 09:46:26 -06:00 committed by GitHub
commit 261547b42c

View file

@ -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