Tweak systemd unit file

The directive "StartLimitInterval" has been replaced by [StartLimitIntervalSec=interval, StartLimitBurst=burst](https://www.freedesktop.org/software/systemd/man/systemd.unit.html#StartLimitIntervalSec=interval). I'd suggest that the default backoff settings are fine (in Ubuntu 19.10 no more than 5 restarts per 10 seconds, else delayed by 10 seconds per attempt) so this directive can simply be removed.
This commit is contained in:
Adam Piggott 2020-02-14 19:01:13 +00:00 committed by Adam Piggott
parent b7b5d32538
commit c74c36e175

View file

@ -10,7 +10,6 @@ Group=www-data
ExecStart=/usr/local/bin/rest-server --path /tmp/restic
Restart=always
RestartSec=5
StartLimitInterval=0
[Install]
WantedBy=multi-user.target