screen-locker/runnerup-watch.service
2026-10-07 20:36:38 +02:00

14 lines
420 B
Desktop File

[Unit]
Description=Credit a RunnerUp run the moment its TCX upload lands (starts workout-sync)
[Service]
# Long-running inotify watcher on ~/data/cloud/RunnerUp: idle until dufs
# finishes writing a *.tcx, then starts workout-sync.service. See the script
# header for why this is not a .path unit.
ExecStart=%h/src/screen-locker/scripts/runnerup_watch.sh
Restart=always
RestartSec=30
[Install]
WantedBy=default.target