Paul Webster wrote:
> Try a "stop" rather than a "restart" and see if it really does stop and
> how long it takes.
>
> If it exits cleanly then try a "start".
This is what I did:
Code:
--------------------
pi@RPiWohnzimmer:~ $ sudo systemctl stop logitechmediaserver.service
pi@RPiWohnzimmer:~ $ sudo systemctl status logitechmediaserver.service
● logitechmediaserver.service - LSB: Startup script for the Logitech
Media Server
Loaded: loaded (/etc/init.d/logitechmediaserver; generated)
Active: inactive (dead) since Thu 2019-11-14 18:22:47 CET; 11s ago
Docs: man:systemd-sysv-generator(8)
Process: 2878 ExecStart=/etc/init.d/logitechmediaserver start (code=exited,
status=0/SUCCESS)
Process: 12373 ExecStop=/etc/init.d/logitechmediaserver stop (code=exited,
status=0/SUCCESS)
Tasks: 5 (limit: 4915)
Memory: 1.3G
CGroup: /system.slice/logitechmediaserver.service
└─2887 /usr/bin/perl /usr/sbin/squeezeboxserver
/usr/sbin/squeezeboxserver /usr/sbin/squeezeboxserver
/usr/sbin/squeezeboxserver /usr/sbin/squeezeboxserver -
Nov 13 14:11:05 RPiWohnzimmer systemd[1]: This usually indicates unclean
termination of a previous run, or service implementation deficiencies.
Nov 13 14:11:05 RPiWohnzimmer systemd[1]: Starting LSB: Startup script for
the Logitech Media Server...
Nov 13 14:11:05 RPiWohnzimmer logitechmediaserver[2878]: Making sure that
Logitech Media Server is not running first: start-stop-daemon: warning: failed
to kill 437: No
Nov 13 14:11:05 RPiWohnzimmer logitechmediaserver[2878]: No process in
pidfile '/var/run/logitechmediaserver.pid' found running; none killed.
Nov 13 14:11:05 RPiWohnzimmer logitechmediaserver[2878]: Starting Logitech
Media Server.
Nov 13 14:11:05 RPiWohnzimmer systemd[1]: Started LSB: Startup script for the
Logitech Media Server.
Nov 14 18:22:47 RPiWohnzimmer systemd[1]: Stopping LSB: Startup script for
the Logitech Media Server...
Nov 14 18:22:47 RPiWohnzimmer logitechmediaserver[12373]: Stopping Logitech
Media Server.
Nov 14 18:22:47 RPiWohnzimmer systemd[1]: logitechmediaserver.service:
Succeeded.
Nov 14 18:22:47 RPiWohnzimmer systemd[1]: Stopped LSB: Startup script for the
Logitech Media Server.
--------------------
It seems to stop immediately (I executed the 2 commands stop and status
in close sequence).
Error of a leftover process still seems to be there:
Code:
--------------------
pi@RPiWohnzimmer:~ $ ps -A |grep squee
635 ? 00:12:05 squeezelite
2887 ? 1-04:45:43 squeezeboxserve
pi@RPiWohnzimmer:~ $
--------------------
------------------------------------------------------------------------
mi6's Profile: http://forums.slimdevices.com/member.php?userid=22783
View this thread: http://forums.slimdevices.com/showthread.php?t=111211
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix