Lord Vader;141354 Wrote: > Well, I've tried as described on > http://techbulletins.blogspot.com/2006/08/slimserver-embedded.html > adding these two lines in "vi" > cd /usr/local/SlimServer_v6.0.2 > ./slimserver.pl --daemon --prefsfile /etc/slim-data/slimserver.pref > --cachedir /etc/slim-data > but it didn't seem to work when restarting NSLU2... Had to start > Slimserver "the usual" way via telnet. Any suggestions?
With Unslung you don't have to edit rc.local. Instead, you need to put a script in /opt/etc/init.d The name of the file must start with SXX, e.g. S99slimserver and the exec bit must be set. See mine for reference: ------------------------------------ #!/bin/sh if [ -n "`pidof slimserver.pl`" ]; then /bin/killall slimserver.pl 2>/dev/null fi cd /opt/SlimServer ./slimserver.pl --daemon --user slim --prefsfile /slim/slim-data/slimserver.conf --cachedir /slim/slim-data --cliport 0 --pidfile /slim/run/slimserver.pid --logfile /slim/log/slimserver.log ---------------------------- -- abagos Alexandros Bagos ------------------------------------------------------------------------ abagos's Profile: http://forums.slimdevices.com/member.php?userid=2285 View this thread: http://forums.slimdevices.com/showthread.php?t=28038 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/unix
