Actually, contrary to what the title of the initial post says, this is
not root which launch the slimserver, but the "slimserver" user. root
just starts the initscript.
This is an extract from the gentoo init script:
start() {
local myopts=""
[[ -n "${SLIMSERVER_AUDIODIR}" ]] \
&& myopts="${myopts} --audiodir
${SLIMSERVER_AUDIODIR}"
[[ -n "${SLIMSERVER_PLAYLISTDIR}" ]] \
&& myopts="${myopts} --playlistdir
${SLIMSERVER_PLAYLISTDIR}"
ebegin "Starting slimserver"
HOME=/opt/slimserver start-stop-daemon --start \
--exec /opt/slimserver/slimserver.pl \
--pidfile ${SLIMSERVER_PIDFILE} \
-- \
--cachedir /var/cache/slimserver \
--daemon \
--group slimserver \
--logfile /var/log/slimserver \
--pidfile ${SLIMSERVER_PIDFILE} \
--prefsfile
"${SLIMSERVER_PREFSFILE:-/etc/slimserver.pref}" \
--user slimserver \
--quiet \
${myopts} ${SLIMSERVER_OPTS}
eend $?
}
Sorry about the confusion. Still the server just doesn't start.
--
bicatali
------------------------------------------------------------------------
bicatali's Profile: http://forums.slimdevices.com/member.php?userid=8028
View this thread: http://forums.slimdevices.com/showthread.php?t=33995
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix