blob: 7f0632a74d87c39998df0c6c98390bb9bc49161e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#! /bin/sh
tiipclad_daemon=/usr/bin/__LAD_DAEMON__
tiipclad_params="-l lad.txt"
test -x "$tiipclad_daemon" || exit 0
case "$1" in
start)
echo -n "Starting tiipclad daemon"
start-stop-daemon --start --quiet \
--exec $tiipclad_daemon -- $tiipclad_params
echo "."
;;
stop)
echo -n "Stopping tiipclad daemon"
start-stop-daemon --stop --quiet --pidfile /var/run/tiipclad.pid
echo "."
;;
*)
echo "Usage: /etc/init.d/tiipclad-daemon.sh {start|stop}"
exit 1
esac
exit 0
|