Sophie

Sophie

distrib > Fedora > 13 > x86_64 > media > updates > by-pkgid > 2df5eef7e007ee86e5e5ba15d69b5d63 > scriptlet

openstack-swift-proxy-1.0.2-5.fc13.noarch.rpm

PREUN

/bin/sh
if [ $1 = 0 ] ; then
    /sbin/service swift-proxy stop >/dev/null 2>&1
    /sbin/chkconfig --del swift-proxy
fi

POSTIN

/bin/sh
/sbin/chkconfig --add swift-proxy

POSTUN

/bin/sh
if [ "$1" -ge "1" ] ; then
    /sbin/service swift-proxy condrestart >/dev/null 2>&1 || :
fi