Added systemd units

This commit is contained in:
2023-05-25 04:47:11 -07:00
parent 1d7248d342
commit 72fd791e36
4 changed files with 39 additions and 0 deletions

View 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