rasschaert/pacemaker-resource-agents — pull request #1 by arjenz (2014-10-04 15:57:59+00:00)
Title: Don't pkill icinga from a script called icinga

Calling pkill -KILL icinga from a OCF script called "icinga" also kills the script itself. Hardcoding a path to the icinga binary might not be perfect, but at least the script will not kill itself and return something non-zero this way.