Closed
Description
If Shairport Sync gets compiled with --with-tinysvcmdns
instead of --with-avahi
, the make-installed
systemd
startup service file still requires the Avahi service to be present.
That makes Shairport Sync fail to start.
I'd suggest that
- either a 2nd
systemd
startup service file should get installed or - the documentation should be updated
original:
[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=/usr/local/bin/shairport-sync
User=shairport-sync
Group=shairport-sync
[Install]
WantedBy=multi-user.target
needs to be
[Unit]
Description=Shairport Sync - AirPlay Audio Receiver
After=sound.target
Wants=network-online.target
After=network.target network-online.target
[Service]
ExecStart=/usr/local/bin/shairport-sync
User=shairport-sync
Group=shairport-sync
[Install]
WantedBy=multi-user.target
if compiled with --with-tinysvcmdns
and Avahi not being present.
Thx for the great work btw.