diff options
-rw-r--r-- | .config/systemd/user/vdirsyncer.service | 9 | ||||
-rw-r--r-- | .config/systemd/user/vdirsyncer.timer | 8 |
2 files changed, 17 insertions, 0 deletions
diff --git a/.config/systemd/user/vdirsyncer.service b/.config/systemd/user/vdirsyncer.service new file mode 100644 index 0000000..2f4fa3d --- /dev/null +++ b/.config/systemd/user/vdirsyncer.service @@ -0,0 +1,9 @@ +[Unit] +Description=Synchronize my contact and calendar files + +[Service] +Type=oneshot +ExecStart=/usr/bin/vdirsyncer sync + +[Install] +WantedBy=multi-user.target diff --git a/.config/systemd/user/vdirsyncer.timer b/.config/systemd/user/vdirsyncer.timer new file mode 100644 index 0000000..87c4338 --- /dev/null +++ b/.config/systemd/user/vdirsyncer.timer @@ -0,0 +1,8 @@ +[Unit] +Description=Synchronize my calendar and contact files automatically + +[Timer] +OnUnitInactiveSec=60 + +[Install] +WantedBy=timers.target |