Hi,

Function status in the startup script Shinken does not work. I replaced the
old function by function do_status as below:

do_status() {
  if pidofproc -p "$ARBITERPID" >/dev/null; then
    log_action_end_msg 0 "running"
  else
    if [ -e "$ARBITERPID" ]; then
      log_action_end_msg 1 "$NAME failed"
    else
      log_action_end_msg 0 "not running"
    fi
  fi

}


Best regard

-- 
David Hannequin
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to