Files

30 lines
802 B
Desktop File
Raw Permalink Normal View History

2026-05-06 08:41:06 +02:00
[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