pantomnesia wrote:
> Must admit, I was starting to think the problem might be elsewhere. I've
> done 'systemctl daemon-reload' and 'service logitechmediaserver restart'
> in my testing and it seems to make no difference. With just
> SL_NAME=Player in the parameter file, LMS recognises the player straight
> away, no restarts of LMS nor init.d reloads needed. So, no urgency
> bpa... in fact, if you want to forget it completely then that's OK with
> me too. :)
I spent a little bit of time but the problem is "elsewhere". I think the
init.d script was created before systemctl was added as default. I'm
not familiar with systemctl. systemctl says it is executing the init.d
script but now squeezelite doesn't start. I'm not sure command line
systemctl is using to start squeezelite is right.
Need to spend time with systemctl.
Part of output of trace of "status".
Code:
--------------------
+ /bin/systemctl --no-pager status squeezelite.service
● squeezelite.service - LSB: Lightweight headless Squeezebox emulator
Loaded: loaded (/etc/init.d/squeezelite; generated)
Active: active (exited) since Thu 2021-06-17 22:12:43 IST; 13h ago
Docs: man:systemd-sysv-generator(8)
Tasks: 0 (limit: 4915)
CGroup: /system.slice/squeezelite.service
Jun 17 22:12:43 pi4sys squeezelite[5965]: + DAEMON_ARGS= -n "The Player"
Jun 17 22:12:43 pi4sys squeezelite[5965]: + [ -n ]
Jun 17 22:12:43 pi4sys squeezelite[5965]: + start-stop-daemon --start --quiet
--pidfile /run/squeezelite.pid --exec /usr/bin/squeezelite --test
Jun 17 22:12:43 pi4sys squeezelite[5965]: + start-stop-daemon --start --quiet
--pidfile /run/squeezelite.pid --exec /usr/bin/squeezelite --background
--make-pidfile -- -n "The Player"
Jun 17 22:12:43 pi4sys squeezelite[5965]: + RET=0
Jun 17 22:12:43 pi4sys squeezelite[5965]: + [ no != no ]
Jun 17 22:12:43 pi4sys squeezelite[5965]: + exit 0
Jun 17 22:12:43 pi4sys systemd[1]: Started LSB: Lightweight headless
Squeezebox emulator.
--------------------
------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=114712
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins