This file is indexed.

/etc/init.d/gdnsd is in gdnsd 2.3.0-1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#!/bin/sh
### BEGIN INIT INFO
# Provides:          gdnsd
# Required-Start:    $syslog $remote_fs
# Required-Stop:     $syslog $remote_fs
# Should-Start:      $local_fs
# Should-Stop:       $local_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: gdnsd
# Description:       authoritative name server
### END INIT INFO

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/gdnsd
NAME="gdnsd"

test -x $DAEMON || exit 0

. /lib/lsb/init-functions

[ -f /etc/default/$NAME ] && . /etc/default/$NAME

GDNSD_CMD="$DAEMON $GDNSD_CFGDIR"

gdnsd_cmd() {
    $GDNSD_CMD "$1" >/dev/null 2>/dev/null
    ret=$?
    log_end_msg $ret
    exit $ret
}

case "$1" in
    start)
        log_daemon_msg "Starting $NAME" "$NAME"
        gdnsd_cmd "$1"
        ;;
    stop)
        log_daemon_msg "Stopping $NAME" "$NAME"
        gdnsd_cmd "$1"
        ;;
    reload-zones)
        log_daemon_msg "Reloading $NAME" "$NAME"
        gdnsd_cmd "$1"
        ;;
    restart|condrestart|try-restart)
        log_daemon_msg "Restarting $NAME" "$NAME"
        gdnsd_cmd "$1"
        ;;
    force-reload)
        log_daemon_msg "Restarting $NAME" "$NAME"
        gdnsd_cmd restart
        ;;
    status)
        $GDNSD_CMD $1 >/dev/null 2>/dev/null
        case "$?" in
            0) log_success_msg "$NAME is running"; exit 0 ;;
            *) log_failure_msg "$NAME is not running"; exit 3 ;;
        esac
        ;;
    *)
        echo "Usage: /etc/init.d/gdnsd {start|stop|reload-zones|force-reload|restart|condrestart|status}"
        exit 1
esac

exit 0