Added systemd units
This commit is contained in:
9
systemd/vdirsyncer@.service
Normal file
9
systemd/vdirsyncer@.service
Normal file
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Sync calendar %i with vdirsyncer
|
||||
Wants=default.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=sh -c "echo '%i' | sed 's#:#/#g' | xargs vdirsyncer sync"
|
||||
RuntimeMaxSec=3m
|
||||
Restart=on-failure
|
Reference in New Issue
Block a user