mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2024-12-28 17:51:15 +01:00
17 lines
338 B
SYSTEMD
17 lines
338 B
SYSTEMD
|
[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
|