This commit is contained in:
2026-05-06 08:41:06 +02:00
parent 8f0674b6c2
commit 3d98c9ec9c
38 changed files with 87867 additions and 0 deletions
@@ -0,0 +1,29 @@
[Unit]
Description=vdirsyncer — mailbox.org CalDAV Synchronisation
Documentation=https://vdirsyncer.pimutils.org/
# Netzwerk abwarten
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
# Umgebungsvariablen aus .env laden (Pfad anpassen falls nötig)
EnvironmentFile=%h/.config/openclaw-mailbox-cal/.env
# Erst-Sync: discover + sync
# Bei erstem Lauf collect = auto, danach nur sync
ExecStart=/usr/bin/vdirsyncer sync
# Fehler loggen
StandardOutput=append:/var/log/openclaw-mailbox-cal/sync.log
StandardError=append:/var/log/openclaw-mailbox-cal/sync.log
# Timeout: 120 Sekunden (ausreichend für langsame Verbindungen)
TimeoutStartSec=120
# Nach erfolgreichem Sync khal-Cache neu aufbauen
ExecStartPost=/usr/bin/khal rebuild-cache
[Install]
WantedBy=default.target