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

17 lines
338 B
SYSTEMD
Raw Normal View History

[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