Hello!
Just tried another version:
- - - - - - - - - - - - - -
5. modified /etc/init.d/slims not using "--daemon" but sending the
slimserver.pl instead the whole su process in the backround (the script
still returns nearly immediatly to the command prompt):
Code:
--------------------
cd ${ssdir}/
su - slims -s /bin/sh -c "export LANG=${def_charset}; \
${ssdir}/slimserver.pl --logdir=${logdir} --prefsdir=${prefsdir} \
${prefsoption} --pidfile=${pidfile} --logfile=${logfile} ${SLIMS_OPTIONS} \
--noimage --novideo &" >> ${startlogfile} 2>> ${startlogfile}
--------------------
ps ax | grep slims
Code:
--------------------
11373 ? SN 0:11 /usr/bin/perl
/usr/local/slimserver/slimserver.pl --logdir=/var/slims/log
--prefsdir=/var/slims/prefs --pidfile=/var/run/slimserver.pid
--logfile=/var/slims/log/slimserver.log --noimage --novideo
11418 pts/0 SN+ 0:00 /bin/sh /bin/grep slims
--------------------
Processor load under 2%
Given that there's only one slims process and the processor load under
2%, this seems to be the best option.
Lieber Gruß
René
------------------------------------------------------------------------
hanker's Profile: http://forums.slimdevices.com/member.php?userid=52397
View this thread: http://forums.slimdevices.com/showthread.php?t=105987
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter