This file is indexed.

/etc/init.d/shinken-broker is in shinken-common 2.0.3-4.

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

### BEGIN INIT INFO
# Provides:          shinken-broker
# Required-Start:    $time $syslog $network $named $local_fs
# Required-Stop:     $time $syslog $network $named $local_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Shinken broker daemon
# Description:       Shinken is a monitoring tool and the Broker
#                    is one of its daemon. This one gets the configuration from the arbiter
#                    His purpose is to get the broks from the schedulers specified in the
#                    configuration
### END INIT INFO

### Chkconfig Header
# Shinken        Starts Shinken Broker
#
# chkconfig: 345 99 01
# description: Start Shinken broker daemon

# Author: Gabes Jean <naparuba@gmail.com>
#         Olivier LI-KIANG-CHEONG <lkco@gezen.fr>

SHORTNAME=broker
NAME="shinken-$SHORTNAME"

curdir=$(dirname "$0")

export SHINKEN_MODULE_FILE="$NAME"  ## for 'shinken' init script to see that it's called by us

if [ -f /lib/lsb/init-functions ]; then
. /lib/lsb/init-functions
fi

case "$1" in
    start|stop|reload|restart|force-reload|status|check|checkconfig)
        "$curdir/shinken" $@ "$SHORTNAME"
        exit $?
        ;;
    *)
        echo "Usage: /etc/init.d/$NAME [-d] {start|stop|reload|restart|force-reload|status|check}"
        exit 1
        ;;
esac