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