blob: a81a990ee306c702b0e4643e5a6d317bfdff2ff9 (
plain)
1 #!/bin/sh
2 #
3 # /etc/rc.d/lisa: start/stop LISa daemon
4 #
5
6 if [ "$1" = "start" ]; then
7 /usr/bin/lisa -c /etc/lisa.conf > /dev/null
8 elif [ "$1" = "stop" ]; then
9 killall -q /usr/bin/lisa
10 elif [ "$1" = "restart" ]; then
11 killall -q /usr/bin/lisa
12 /usr/bin/lisa -c /etc/lisa.conf > /dev/null
13 else
14 echo "usage: $0 start|stop|restart"
15 fi
16
17 # End of file
|