mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Make systemd service restart only once on failure
Fixes https://github.com/pimutils/vdirsyncer/issues/998
This commit is contained in:
parent
c50eabc77e
commit
c5f80d1644
2 changed files with 2 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ In alphabetical order:
|
||||||
- Marek Marczykowski-Górecki
|
- Marek Marczykowski-Górecki
|
||||||
- Markus Unterwaditzer
|
- Markus Unterwaditzer
|
||||||
- Michael Adler
|
- Michael Adler
|
||||||
|
- rEnr3n
|
||||||
- Thomas Weißschuh
|
- Thomas Weißschuh
|
||||||
- Witcher01
|
- Witcher01
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Synchronize calendars and contacts
|
Description=Synchronize calendars and contacts
|
||||||
Documentation=https://vdirsyncer.readthedocs.org/
|
Documentation=https://vdirsyncer.readthedocs.org/
|
||||||
|
StartLimitBurst=2
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/vdirsyncer sync
|
ExecStart=/usr/bin/vdirsyncer sync
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue