          rc=$?
      fi
      # debug:
-@@ -373,7 +374,13 @@ do_stop() {
+@@ -373,7 +375,13 @@ do_stop() {
  #
  do_check() {
      [ "$DEBUG" = 1 ] && DEBUGCMD="--debug $VAR/${mod}-debug.log"

 ## SHINKEN_MODULE_FILE is set by shinken-* if it's one of these that's calling us.
 if [ -z "$SHINKEN_MODULE_FILE" ]; then
     SCRIPTNAME=$0
@@ -106,16 +119,6 @@ DEBUG=false
 CMD=""
 SUBMODULES=""
 

 
 # If var or run dir is missing, create them and chown them
 [ ! -d $VAR ] && mkdir -p $VAR && chown $SHINKENUSER:$SHINKENGROUP $VAR
@@ -284,13 +279,20 @@ do_start() {
     [ "$DEBUG" = 1 ] && DEBUGCMD="--debug "$(getdebugfile "$mod")
     # Skonf need skonf.cfg, arbiter nagios.cfg, and the other OTHERd.ini
     if [ "$mod" = 'skonf' ]; then
