1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2024-12-27 01:05:00 +01:00
OpenVoiceOS/buildroot-external/rootfs-overlay/usr/lib/systemd/system/shairport-sync.service

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