This file is indexed.

/etc/init.d/shinken-scheduler 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-scheduler
# 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 scheduler daemon
# Description:       Shinken is a monitoring tool and the Scheduler
#                    is one of its daemon. This one get configuration from the arbiter
#                    His purpose is only to schedule do the checks and actions specified
#                    in the configuration received from the arbiter
### END INIT INFO

### Chkconfig Header
# Shinken        Starts Shinken Scheduler
#
# chkconfig: 345 99 01
# description: Start Shinken scheduler daemon

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

SHORTNAME=scheduler
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