PREUN
/bin/sh
if [ $1 = 0 ] ; then /sbin/service openstack-swift-container stop >/dev/null 2>&1 /sbin/chkconfig --del openstack-swift-container fi
POSTIN
/bin/sh
/sbin/chkconfig --add openstack-swift-container
POSTUN
/bin/sh
if [ "$1" -ge "1" ] ; then /sbin/service openstack-swift-container condrestart >/dev/null 2>&1 || : fi