blob: d0439e2bdd6d9d3c3604da9073f53c708b692f53 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
case "$1" in
start)
[ -x "__PREFIX__/sbin/dhisd" ] && __PREFIX__/sbin/dhisd > /dev/null && echo -n ' dhisd'
;;
restart)
killall -HUP dhisd && echo -n 'dhisd restarted'
;;
stop)
killall dhisd && echo -n ' dhisd'
;;
*)
echo "Usage: `basename $0` {start|restart|stop}" >&2
;;
esac
exit 0
|