mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2024-12-27 01:05:00 +01:00
17 lines
338 B
Desktop File
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
|