I'm not sure how to tackle finding out why the start-stop-daemon doesn't
work consistently, but in the meantime...

The path available from within my udev script is:

Code:
--------------------
    /sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin
--------------------


Compare that with the path available from a user shell:

Code:
--------------------
    
/home/tc/.local/bin:/usr/local/sbin:/usr/local/bin:/apps/bin:/usr/sbin:/usr/bin:/sbin:/bin:/etc/sysconfig/tcedir/ondemand
--------------------


I've made a full version of the 'workaround' script - one that doesn't
use the start-stop-daemon at all, and which fully implements all the
proper squeezelite settings in the same as the start-stop-daemon.  I
simply lifted the code directly from the daemon.  I don't like to do
this because it's a duplication of code, and if the start-stop-daemon
gets updated to cope with new Squeezelite options this will also need to
be updated.  But unless, or until, I get to the bottom of the
start-stop-daemon issues this can serve as a working generalised version
for now.

@Bogg - it would be good to know if this version still works in your
case.  Just replace the entire script.  No need to re-run the install,
unless you give this script a different name.


v1.1.0 - 'workaround' version to bypass start-stop-daemon


+-------------------------------------------------------------------+
|Filename: SQLITE-control.sh_v1.1.0.zip                             |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=33714|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
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
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to