Skip to content

Commit b5d4d3f

Browse files
author
Hugo Barrera
authored
Merge pull request pimutils#846 from pfactum/master
contrib/systemd: implement service timeout
2 parents aeb46ab + f79647b commit b5d4d3f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/vdirsyncer.service

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ Documentation=https://vdirsyncer.readthedocs.org/
44

55
[Service]
66
ExecStart=/usr/bin/vdirsyncer sync
7-
Type=oneshot
7+
RuntimeMaxSec=3m
8+
Restart=on-failure

0 commit comments

Comments
 (0)