This file is indexed.

/etc/init.d/iceccd is in icecc 1.1-2.

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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
#!/bin/sh
### BEGIN INIT INFO
# Provides:          iceccd
# Required-Start:    $local_fs $remote_fs
# Required-Stop:     $local_fs $remote_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: control icecc daemon start at boot time
# Description:       control icecc daemon start at boot time by
#                    sourcing /etc/default/icecc and /etc/icecc/icecc.conf.
### END INIT INFO

DAEMON=/usr/sbin/iceccd
CONFIGFILE=/etc/icecc/icecc.conf
DEFAULTFILE=/etc/default/icecc

# Read configuration files
[ -r $CONFIGFILE ] && . $CONFIGFILE
[ -r $DEFAULTFILE ] && . $DEFAULTFILE

test -x $DAEMON || exit 0

. /lib/lsb/init-functions

netname=
if test -n "$ICECC_NETNAME"; then
	netname="-n $ICECC_NETNAME"
fi

start_icecc_daemon() {
	logfile=""
	if test -n "$ICECC_LOG_FILE"; then
		logfile="-l $ICECC_LOG_FILE"
	fi
	nice= 
	if test -n "$ICECC_NICE_LEVEL"; then
		nice="--nice $ICECC_NICE_LEVEL"
	fi
	scheduler=
	if test -n "$ICECC_SCHEDULER_HOST"; then
		scheduler="-s $ICECC_SCHEDULER_HOST"
	fi
	basedir=
	if test -n "$ICECC_BASEDIR"; then
		basedir="-b $ICECC_BASEDIR"
	fi
	noremote=
	if test "$ICECC_ALLOW_REMOTE" = "no"; then
		noremote="--no-remote"
	fi
	maxjobs=
	if test -n "$ICECC_MAX_JOBS"; then
		if test "$ICECC_MAX_JOBS" -eq 0; then
			maxjobs="-m 1"
			noremote="--no-remote"
		else
			maxjobs="-m $ICECC_MAX_JOBS"
		fi
	fi

	start-stop-daemon --start --quiet --exec $DAEMON -- \
	-d $logfile $nice $scheduler $netname -u icecc $basedir $maxjobs $noremote
}

stop_icecc_daemon() {
	start-stop-daemon --stop --quiet --signal TERM --oknodo --exec $DAEMON
}

case "$1" in
  start)
        log_daemon_msg "Starting distributed compiler daemon" "iceccd"
        start_icecc_daemon
        log_end_msg $?
        ;;
  stop)
        log_daemon_msg "Stopping distributed compiler daemon" "iceccd"
        stop_icecc_daemon
        log_end_msg $?
        ;;
  restart|force-reload)
        log_daemon_msg "Restarting distributed compiler daemon" "iceccd"
        stop_icecc_daemon
        sleep 1
        start_icecc_daemon
        log_end_msg $?
        ;;
  status)
        status_of_proc "$DAEMON" "iceccd" && exit 0 || exit $?
        ;;
  *)
        N=/etc/init.d/iceccd
        echo "Usage: $N {start|stop|restart|force-reload|status}" >&2
        exit 1
        ;;
esac

exit 0