blob: 10e03815d7642eead95efc34e4237983fc6a7cd2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/sh
case "$1" in
start)
/usr/sbin/wwwoffled >/dev/null 2>&1
;;
restart)
/usr/bin/wwwoffle -kill >/dev/null 2>&1
/usr/sbin/wwwoffled >/dev/null 2>&1
;;
reload|force-reload)
/usr/bin/wwwoffle -config >/dev/null 2>&1
;;
stop)
/usr/bin/wwwoffle -kill >/dev/null 2>&1
;;
*)
echo "Usage: /etc/init.d/wwwoffle {start|stop|restart|reload|force-reload}"
exit 1
esac
exit 0
|