# vim: set ft=systemd : # In order for this to be effective, `shairport-sync.service` needs a # configuration override to enable auto-restart, e.g.: # # [Service] # Restart=always # RestartSec=1 [Unit] Description=Restart shairport-sync when music-assistant restarts Wants=network-online.target After=network-online.target [Service] Type=simple ExecStart=/usr/local/libexec/restart-sync.sh Restart=always RestartSec=1 [Install] WantedBy=shairport-sync.service