3
# Written by Hugo Haas <hugo@debian.org> for ippl.
4
# Modified by Marc Haber <mh+debian-packages@zugschlus.de>.
5
# Adapted for dsc-collector by Marc Haber <mh+debian-packages@zugschlus.de>
8
# Provides: dsc-statistics-presenter
9
# Required-Start: $local_fs $remote_fs
10
# Required-Stop: $local_fs $remote_fs
13
# Default-Start: 2 3 4 5
15
# Short-Description: dsc-statistics-presenter
16
# Description: A DNS Statistics Collector - Presenter component
21
if ! [ -x "/lib/lsb/init-functions" ]; then
22
. /lib/lsb/init-functions
24
echo "E: /lib/lsb/init-functions not found, lsb-base (>= 3.0-6) needed"
28
if [ -n "$DSCDEBUG" ]; then
29
echo "now debugging $0 $@"
37
DESC="DNS Statistics Presenter"
40
log_daemon_msg "Starting $DESC" "$NAME"
42
lRUNDIR="/var/run/dsc-statistics-presenter"
44
[ -e $lRUNDIR ] || mkdir -p $lRUNDIR
45
chown Debian-dsc-statistics $lRUNDIR
65
log_failure_msg "Usage: $0 {start|restart|force-reload}" >&2