jarome;566375 Wrote: 
> But how do I modify the file in /etc/init.d to get the server to start
> automatically upon boot?
> 
> Thanks a bunch,
> Jim

Open up the file /etc/init.d/squeezeboxserver and add the 'export
LD_LIBRARY_PATH' line below in start() (make sure you do this in the
SUSE section and not the Red Hat one):


start() {
echo -n "Starting Squeezebox Server: "
export HOME=$SQUEEZEBOX_HOME
export
LD_LIBRARY_PATH=/usr/lib64/llvm-gcc/lib64/:$LD_LIBRARY_PATH
startproc -u $SQUEEZEBOX_USER $SQUEEZEBOX_BIN
$SQUEEZEBOX_ARGS
rc_status -v
}

This works for me (the service starts on startup), but for some reason
I still can't control it from YaST.  If you need to stop it for any
reason you can do it via the command line and it'll work:

sudo /etc/init.d/squeezeboxserver stop

Hope that helps!


-- 
Slomojo
------------------------------------------------------------------------
Slomojo's Profile: http://forums.slimdevices.com/member.php?userid=39359
View this thread: http://forums.slimdevices.com/showthread.php?t=80458

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to