The last update brocke afterm my gess systemd behaviour.
Workaround to get squeezelite back in operation.
Create a file /etc/init.d/squeezelite.sh
Code:
--------------------
[
#!/bin/sh
/sbin/runuser -l pi -c '/usr/bin/squeezelite'
--------------------
sudo chmod a+x /etc/init.d/squeezelite.sh
Create a service description in /etc/systemd/systems/squeezelite.service
Code:
--------------------
[Unit]
Description=squeezelite daemon client
Documentation=man:squeezelite(1)
After=network.target
[Service]
Type=simple
ExecStart=/etc/init.d/squeezlite.sh
[Install]
WantedBy=multi-user.target.wants
Alias=sounddaemon.service
--------------------
sudo systemctl deamon-relaod
sudo systemctl enable squeezelite.service
sudo systemctl start squeezelite.service
sudo systemctl status squeezelite.service
Code:
--------------------
● squeezelite.service - squeezelite daemon client
Loaded: loaded (/etc/systemd/system/squeezelite.service; disabled; vendor
preset: enabled)
Active: active (running) since Tue 2021-02-16 19:20:47 CET; 11h ago
Docs: man:squeezelite(1)
Main PID: 30434 (sounddaemon.sh)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/squeezelite.service
└─30434 /bin/sh /etc/init.d/sounddaemon.sh
Feb 16 19:20:47 raspberrypi systemd[1]: Started squeezelite daemon client.
Feb 16 19:20:47 raspberrypi sounddaemon.sh[30434]: Wi-Fi is currently blocked
by rfkill.
Feb 16 19:20:47 raspberrypi sounddaemon.sh[30434]: Use raspi-config to set
the country before use.
--------------------
Stop and reload won't work. But service come back after reboot and
default = HDMI is up and running again.
If you need other parameters feel free to ad them in
/etc/init.d/squeezlite.sh accordingly.
cu f41ardu
Stay all healthy!
PS: It need a couple of days to find that out.
------------------------------------------------------------------------
f41ardu's Profile: http://forums.slimdevices.com/member.php?userid=71408
View this thread: http://forums.slimdevices.com/showthread.php?t=113962
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix