Thanks for the link, I had seen that post before
but I must admit, this step here
I do not understand completely:
/* unpack slimserver code */
cd /usr/local/slimserver
tar -xzvf ....SlimServer_v2005-08-02.tar.gz
ln -s SlimServer_v2005-08-0 slimserver (link or rename directory as
required)
where do i find the slimserver tar.gz file?
How do i drop it on that directory when I find it?
Then this part really intimadates me:
/* create startup script */
nano /etc/init.d/slimserver
cut & paste:
#!/bin/sh
# slimserver init script for Debian Linux
#
# This script expects slimserver to be installed in
# /usr/local/slimserver
#
# logfile will be written to
# /tmp/slimserver.log
#
DAEMON=/usr/local/slimserver/slimserver.pl
PIDFILE=/var/tmp/slimserver.pid
LOGFILE=/tmp/slimserver.log
USER=slimserver
SLIMSERVER_OPTS=""
test -x ${DAEMON} || exit 0
case "$1" in
start) echo -n "Starting Slimserver: "
HOME=/home/$USER
start-stop-daemon --start --quiet --exec $DAEMON \
--chuid ${USER} -- --daemon \
--prefsfile=/etc/slimserver.pref --pidfile=${PIDFILE} \
--logfile=${LOGFILE} ${SLIMSERVER_OPTS}
echo "slimserver"
;;
stop) echo -n "Stopping Slimserver: "
start-stop-daemon --stop --quiet --user ${USER} --pidfile ${PIDFILE}
--retry 5
echo "done"
;;
force-reload|restart) $0 stop
$0 start
;;
*) echo "Usage: $0 {start|stop|restart|force-reload}"
exit 1;
;;
esac
exit 0
(save file)
chmod chmod 755 /etc/init.d/slimserver
I have to write this? how do I write it?
Where do I save it?
As you can see, I am a real newbie and before using
the Konsole and screwing my linux install
I really want to understand what I am doing and how I will
do it.
Any help will be appreciated.
--
oscuridad
------------------------------------------------------------------------
oscuridad's Profile: http://forums.slimdevices.com/member.php?userid=1926
View this thread: http://forums.slimdevices.com/showthread.php?t=18021
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix