As an intermediary fix for those that just want to listen to their music...
(which does not fix the actual bug ;) )

Change the Service Type to 'simple' instead of forking and remove the 
'--daemon' argument from ExecStart, aka resulting file:

/lib/systemd/system/shairport-sync.service
```
[Unit]
Description=ShairportSync AirTunes receiver
Documentation=man:shairport-sync(7)
Documentation=file:///usr/share/doc/shairport-sync/README.md.gz
Documentation=https://github.com/mikebrady/shairport-sync
After=sound.target
Requires=avahi-daemon.service
After=avahi-daemon.service

[Service]
Type=simple
Restart=on-failure
EnvironmentFile=-/etc/default/shairport-sync
ExecStart=/usr/bin/shairport-sync $DAEMON_ARGS
User=shairport-sync
Group=shairport-sync
PIDFile=/run/shairport-sync/shairport-sync.pid

[Install]
WantedBy=multi-user.target
```


Then:
 systemctl daemon-reload
and:
 /etc/init.d/shairport-sync start

Voila, music works again ;)

This works as apparently only daemon mode is affected.

Greets,
 Jeroen

Reply via email to