This file is indexed.

/etc/init.d/ircd-ircu is in ircd-ircu 2.10.12.10.dfsg1-3build1.

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
67
68
69
#!/bin/sh

#
# Starts/stops the irc daemon
#

### BEGIN INIT INFO
# Provides:          ircd-ircu
# Required-Start:    $local_fs $remote_fs
# Required-Stop:     $local_fs $remote_fs
# Should-Start:      $local_fs
# Should-Stop:       $local_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start the ircd-ircu irc daemon
# Description:       This script will start the undernet irc daemon
#                    called ircd-ircu.
### END INIT INFO

# $PATH to go
PATH=/sbin:/bin:/usr/sbin:/usr/bin
          
# where the irc-daemon is
IRCD=/usr/sbin/ircd-ircu
RUNDIR=/var/run/ircd
PIDFILE=${RUNDIR}/ircd.pid                  

# Systemd compatibility
. /lib/lsb/init-functions

if [ ! -d ${RUNDIR} ] ; then
	mkdir -p ${RUNDIR} || true
	if [ -d ${RUNDIR} ] ; then
		chown -R irc:irc ${RUNDIR}
	fi
fi

if [ -x "$IRCD" ]; then
  case "$1" in
          start)
                  echo -n "Starting irc server daemon:"
                  echo -n " ircd-ircu"
                  start-stop-daemon --start --quiet --pidfile ${PIDFILE} --chuid irc --exec ${IRCD}
                  echo "."
                  ;;
        
          stop)
                  echo -n "Stopping irc server daemon:"
                  echo -n " ircd-ircu"
                  start-stop-daemon --stop --quiet --oknodo --pidfile ${PIDFILE} --exec ${IRCD}
                  echo "."  
                  ;;
        
          restart|force-reload)
                  echo -n "Restarting irc server daemon:"
                  echo -n " ircd-ircu"
                  start-stop-daemon --stop --quiet --oknodo --pidfile ${PIDFILE} --exec ${IRCD}
                  sleep 2
		  start-stop-daemon --start --quiet --pidfile ${PIDFILE} --chuid irc --exec ${IRCD}
                  echo "."
                  ;;
          *)
                  echo "Usage: $0 {start|stop|restart|force-reload}"
                  exit 1
                  ;;
  esac
fi

exit 0