mirror of
https://github.com/restic/rest-server.git
synced 2025-10-19 15:43:21 +00:00
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:
parent
b7b5d32538
commit
c74c36e175
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue