4 # Provides: shinken-reactionner
7 # Default-Start: 2 3 4 5
9 # Short-Description: Shinken reactionner daemon
10 # Description: Shinken is a monitoring tool and the Reactionner
11 # is one of its daemon. This one gets the configuration from the arbiter
12 # His purpose is to get the actually do the actions like sending an email
13 # ordered by the schedulers specified in the configuration
16 ### BEGIN INIT INFO Redhat
17 # Shinken Starts Shinken Reactionner
19 # chkconfig: 345 99 01
20 # description: Start Shinken reactionner daemon
23 # Author: Gabes Jean <naparuba@gmail.com>
24 # Olivier LI-KIANG-CHEONG <lkco@gezen.fr>
27 NAME
="shinken-reactionner"
29 curdir
=$
(dirname "$0")
31 export SHINKEN_MODULE_FILE
="$NAME" ## for 'shinken' init script to see that it's called by us
33 "$curdir/shinken" -m reactionner $@