Remove the requirement for Avahi in the systemd startup file unless Avahi is included in the build.

This commit is contained in:
Mike Brady
2022-04-05 07:22:34 +01:00
parent bc97f76a16
commit 38bbad6f63
5 changed files with 25 additions and 3 deletions
+15
View File
@@ -0,0 +1,15 @@
[Unit]
Description=Shairport Sync - AirPlay Audio Receiver
After=sound.target
Requires=avahi-daemon.service
After=avahi-daemon.service
Wants=network-online.target
After=network.target network-online.target
[Service]
ExecStart=@prefix@/bin/shairport-sync
User=shairport-sync
Group=shairport-sync
[Install]
WantedBy=multi-user.target
-2
View File
@@ -1,8 +1,6 @@
[Unit]
Description=Shairport Sync - AirPlay Audio Receiver
After=sound.target
Requires=avahi-daemon.service
After=avahi-daemon.service
Wants=network-online.target
After=network.target network-online.target