Commit 466269fd authored by Matthew Holt's avatar Matthew Holt

Limit the number of restarts with systemd

parent 8653b70c
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment