This file is indexed.

/etc/jabberd2/component.d/50c2s is in jabberd2 2.2.17-1build1.

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

set -e

test -f /etc/default/jabberd2 && . /etc/default/jabberd2

NAME=c2s
COMMAND=/usr/sbin/jabberd2-${NAME}
PIDFILE=/var/run/jabberd2/${NAME}.pid
CONFFILE=/etc/jabberd2/${NAME}.xml

# exit now if we are not ment to run
test "${C2S_RUN}" != 0 || exit 0

# check for executable
test -f ${COMMAND} || exit 0

case "$1" in
   start)
	printf " ${NAME}"
        if [ ! `pidof ${COMMAND}` ]; then
      	    start-stop-daemon -b -c ${USER}:${GROUP} \
        	--start --pidfile ${PIDFILE} --quiet \
        	--exec ${COMMAND} -- -c ${CONFFILE} || printf "<Failed>"
        fi
	;;
   stop)
	printf " ${NAME}"
        start-stop-daemon -o -u ${USER} --stop --quiet \
            --signal 15 --retry 3 --pidfile ${PIDFILE} \
            --exec ${COMMAND} || printf "<Failed>"
	;;
    status)
        printf "${NAME}"
        if [ `pidof ${COMMAND}` ]; then
            printf " running]\n"
        else
            printf " not running\n"
        fi
	;;
    restart)
        $0 stop
        sleep 1
        $0 start
	;;
    *)
	printf "`basename $0` called with unknown option {$1}\n"
	exit 1
	;;
esac

exit 0