paul- wrote: 
> Are you guys using the absolute latest squeezelite package?  The have
> been changes after pCP 7 was released that affected the -C option.

On my test Pi3A+ I've been using the Squeezelite version that was part
of the the pCP7.0.0 image: v1.9.8-1287-pCP.  I've just updated to
v1.9.9-1364-pCP.  With this version, the symptoms are the same with the
-C option: if no music is playing the init.d script kills the process,
but with music playing it doesn't.

paul- wrote: 
> I’m not sure what you are expecting SIGTERM to do.  This just tells the
> program to shutdown normally.   In all of these cases being discussed,
> abnormal conditions are present, so the shutdown process is unable to
> complete.  Using an escalated termination signal is quite expected.

I agree - it seems unfair to ask Squeezelite to shut down 'normally'
when the DAC that it's playing to suddenly disappears.  Given that
argument, I think the SIGKILL signal seems like the way forward.  

There might be a case for updating the init.d script to use '-s
SIGKILL', so that it works in all eventualities, but as pgf points out,
that would deny Squeezelite the opportunity to do what it might want to
under a normal shutdown.  So maybe it's best left as is, and the subject
of this thread can be tackled in the knowledge that this is an abnormal
situation that requires a different call to the start-stop-daemon.


------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=113661

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to