Commit graph

7 commits

Author SHA1 Message Date
Bernhard Reiter
61edfc090e
Adjust codestyle
running flake8, black and reorder-python-imports.
2021-06-28 16:01:21 +02:00
Bernhard Reiter
b3bee77c17
Change license from Apache-2.0 to BSD-3-Clause
to match the license of vdirsyncer
2021-06-28 15:22:56 +02:00
Bernhard Reiter
95bf683771
Add contrib script to resolve conflicts
Asks the user when two iCalender objects conflict during a sync,
which one to take.
2021-06-11 16:50:00 +02:00
Oleksandr Natalenko
f79647b29c contrib/systemd: extend timeout to 3 mins
Some people may have mixes of many servers and/or slow connections,
and we'd rather not break for them.

Signed-off-by: Oleksandr Natalenko <oleksandr@natalenko.name>
2020-10-04 22:08:41 +02:00
Oleksandr Natalenko
1de3632620 contrib/systemd: implement service timeout
Sometimes while doing a suspend/resume cycle vdirsyncer can hang in the
middle of sync, and it never bails out afterwards.

Implement a systemd service change that works around this:

* use `simple` (a default) type for `RuntimeMaxSec` to be effective
* actually set `RuntimeMaxSec` to 30 seconds
* trigger service restart on failure

Signed-off-by: Oleksandr Natalenko <oleksandr@natalenko.name>
2020-10-04 20:14:59 +02:00
Hugo Osvaldo Barrera
1bf863c615 Add systemd.timer files and a relevant tutorial (#635)
Include a systemd.timer file (the interval can be overridden, as
mentioned in the docs). TBH, I'd suggest downstream packagers of
systemd-based distributions include these files on installation
(activation needs to be done manually anyway).
2017-05-24 22:38:42 +02:00
benjaminfrank
f1821f0786 Initial MacOS X launchd .plist file. (#435) 2016-04-25 21:57:15 +02:00