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