diff options
| author | xengineering <me@xengineering.eu> | 2022-06-04 21:33:23 +0200 |
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2022-06-04 21:34:08 +0200 |
| commit | afbaf2e20bda5470ec85fd8259af330067ce996c (patch) | |
| tree | 67b480afd1f1264051bd329420f99441bc89f710 | |
| parent | de9df75e17bda402d15a266e2c7dae0412aee02d (diff) | |
| download | dotfiles-afbaf2e20bda5470ec85fd8259af330067ce996c.tar dotfiles-afbaf2e20bda5470ec85fd8259af330067ce996c.tar.zst dotfiles-afbaf2e20bda5470ec85fd8259af330067ce996c.zip | |
Add systemd user services for vdirsyncer
| -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 |
