PREIN
/bin/sh
/usr/sbin/useradd -c "HAProxy user" -s /bin/false -r -d /var/lib/haproxy haproxy 2>/dev/null || :
PREUN
/bin/sh
if [ $1 = 0 ]; then /sbin/service haproxy stop >/dev/null 2>&1 /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 2>&1 || : fi