The init script is intended to be called by root. It then uses
startproc to invoke Slimserver as the slimserver user. If you try to
run the script as the slimserver user, it won't work right.
In fact, you shouldn't be able to login as 'slimserver' (or su to it)
because it's supposed to be set up with logins disabled.
Have you by any chance added "--user" to SLIMSERVER_ARGS in
/etc/sysconfig/slimserver? If so, I'd advise removing it. The export
of 'HOME' and calling startproc with the slimserver user is
sufficient.
Just for comparison, here are the contents of my
/etc/sysconfig/slimserver:
Code:
--------------------
# Edit this to suit your setup
SLIMSERVER_USER="slimserver"
SLIMSERVER_HOME="/usr/local/slimserver"
SLIMSERVER_CFG="/etc/slimserver.conf"
SLIMSERVER_LOG="/tmp/slimserver.log"
SLIMSERVER_ARGS="--daemon --prefsfile=$SLIMSERVER_CFG
--logfile=$SLIMSERVER_LOG -d_plugin"
--------------------
(Ignore the "-d_plugin" entry, I was playing with Weblogger and trying
to debug a problem, you hopefully won't need it.)
--
AubreyCTurnerJr
------------------------------------------------------------------------
AubreyCTurnerJr's Profile: http://forums.slimdevices.com/member.php?userid=9795
View this thread: http://forums.slimdevices.com/showthread.php?t=33409
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix