Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > 3d7c347b35793efed51031b61f3c56a5 > scriptlet

haproxy-1.4.18-1.fc14.i686.rpm

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