abagos;141571 Wrote: > 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 > ----------------------------
Hi Alexandros, as a newbie, how do I create a script? Do I use "vi"? -- Lord Vader ------------------------------------------------------------------------ Lord Vader's Profile: http://forums.slimdevices.com/member.php?userid=7733 View this thread: http://forums.slimdevices.com/showthread.php?t=28038 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/unix
