Skip to content

Commit c5f80d1

Browse files
committed
Make systemd service restart only once on failure
Fixes #998
1 parent c50eabc commit c5f80d1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

AUTHORS.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ In alphabetical order:
1313
- Marek Marczykowski-Górecki
1414
- Markus Unterwaditzer
1515
- Michael Adler
16+
- rEnr3n
1617
- Thomas Weißschuh
1718
- Witcher01
1819

contrib/vdirsyncer.service

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[Unit]
22
Description=Synchronize calendars and contacts
33
Documentation=https://vdirsyncer.readthedocs.org/
4+
StartLimitBurst=2
45

56
[Service]
67
ExecStart=/usr/bin/vdirsyncer sync

0 commit comments

Comments
 (0)