PREUN
/bin/sh
if [ $1 -eq 0 ]; then /sbin/service haproxy stop &>/dev/null || : /sbin/chkconfig --del haproxy fi
POSTIN
/bin/sh
/sbin/chkconfig --add haproxy
POSTUN
/bin/sh
if [ $1 -ge 1 ]; then /sbin/service haproxy condrestart &>/dev/null || : fi