Now the systrayicon change it's color when a download is in progress. I simply change...
[kdenetwork.git] / debian / lisa.init
blob0ab0d5f082591c602f91afafaa6b3a1e56ea41d6
1 #! /bin/sh
3 # skeleton example file to build /etc/init.d/ scripts.
4 # This file should be used to construct scripts for /etc/init.d.
6 # Written by Miquel van Smoorenburg <miquels@cistron.nl>.
7 # Modified for Debian GNU/Linux
8 # by Ian Murdock <imurdock@gnu.ai.mit.edu>.
10 # Version: @(#)skeleton 1.8 03-Mar-1998 miquels@cistron.nl
12 # This file was automatically customized by dh-make on Fri, 22 Mar 2002 21:38:35 -0600
14 PATH=/sbin:/bin:/usr/sbin:/usr/bin
15 DAEMON=/usr/sbin/lisa
16 NAME=lisa
17 PIDFILE=/var/run/$NAME.pid
18 DESC="LAN Information Server"
20 test -f $DAEMON || exit 0
22 set -e
24 case "$1" in
25 start)
26 echo -n "Starting $DESC: "
27 start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON \
28 > /dev/null
29 echo $(pidof lisa) > $PIDFILE
30 echo "$NAME."
32 stop)
33 echo -n "Stopping $DESC: "
34 start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE \
35 --exec $DAEMON
36 rm -f $PIDFILE
37 echo "$NAME."
39 reload|force-reload)
40 echo "Reloading $DESC configuration files."
41 start-stop-daemon --stop --quiet --signal 1 --pidfile $PIDFILE \
42 --exec $DAEMON
44 restart)
45 echo -n "Restarting $DESC: "
46 start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE \
47 --exec $DAEMON
48 rm -f $PIDFILE
49 sleep 1
50 start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON \
51 > /dev/null
52 echo $(pidof lisa) > $PIDFILE
53 echo "$NAME."
56 N=/etc/init.d/$NAME
57 echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
58 exit 1
60 esac
62 exit 0