Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > 12cfa21cbb444b93941e1ff0fd58dd67 > scriptlet

monit-5.1.1-2.fc14.i686.rpm

PREUN

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

POSTIN

/bin/sh
# This adds the proper /etc/rc*.d links for the script
/sbin/chkconfig --add monit

POSTUN

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