0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2025-01-06 22:40:31 -05:00

Limit the number of restarts with systemd

This commit is contained in:
Matthew Holt 2016-12-12 21:58:35 -07:00
parent 8653b70c32
commit 466269fd10
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5

View file

@ -6,6 +6,8 @@ Wants=network-online.target systemd-networkd-wait-online.service
[Service]
Restart=on-failure
StartLimitInterval=86400
StartLimitBurst=5
; User and group the process will run as.
User=www-data