[Unit]
Description=ParVagues sample watcher — register new packs into the running SuperCollider
Documentation=file:///home/pln/Work/Sound/Tidal/tools/sample-watcher.py

[Service]
Type=simple
ExecStart=/usr/bin/python3 /home/pln/Work/Sound/Tidal/tools/sample-watcher.py --interval 60
Restart=always
RestartSec=30
# Deliberately NOT PartOf/BindsTo the SuperCollider unit. The watcher exits
# when SC is not answering, systemd restarts it 30 s later, and it picks up
# again once the rig is back. Coupling a supervisor to its supervisee is how a
# watchdog launders its own rate limit into a dead service.
Nice=10
IOSchedulingClass=idle

[Install]
WantedBy=default.target
