Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > 473b7338dfa56c5dcc9280f991084d1f > scriptlet

ctdb-1.0.112-2.el5.x86_64.rpm

PREUN

/bin/sh
if [ "$1" -eq "0" ] ; then
 /sbin/service ctdb stop > /dev/null 2>&1
 /sbin/chkconfig --del ctdb
fi

POSTIN

/bin/sh
/sbin/chkconfig --add ctdb

POSTUN

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


# Files section