PREUN
/bin/sh
# If collectl is running, stop it before removing. /etc/init.d/collectl stop chkconfig --del collectl 2>&1 > /dev/null
POSTIN
/bin/sh
chkconfig --add collectl 2>&1 > /dev/null /etc/init.d/collectl start
/bin/sh
# If collectl is running, stop it before removing. /etc/init.d/collectl stop chkconfig --del collectl 2>&1 > /dev/null
/bin/sh
chkconfig --add collectl 2>&1 > /dev/null /etc/init.d/collectl start