Displaying 1 result from an estimated 1 matches for "ocf_reskey_pid".
2014 Nov 15
1
Understanding why Dovecot unexpectedly died
...t now, due to many reasons),
controlled by Pacemaker (I have an HA-Cluster).
Now I see that Pacemaker restarts often Dovecot. I wrote my own script to
manage Dovecot, since Pacemaker does not have his own.
My script, by the "monitor" section has this:
monitor)
if [ ! -e $OCF_RESKEY_pid ]; then
echo "stopped (no pidfile)"
echo "DOVECOT STOPPED - NO PIDFILE" | /usr/bin/logger -p local0.info -t DOVECOT-MONITOR -i
exit $OCF_NOT_RUNNING
else
/bin/ps axuwf | /bin/grep `/bin/cat $...