1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-01-28 01:19:27 +01:00

17 lines
338 B
Desktop File

[Unit]
Description=Shairport-sync
Wants=network.target
Requires=avahi-daemon.service
After=network.target sound.target avahi-daemon.service
[Service]
Type=simple
# Avahi daemon needs some time until fully ready
ExecStartPre=/bin/sleep 3
ExecStart=/usr/bin/shairport-sync
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target