Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > 35741e5e41609b7ace7a7f6ae406f480 > scriptlet

zarafa-server-6.40.2-1.fc14.i686.rpm

PREUN

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

POSTIN

/bin/sh
[ $1 -eq 1 ] && /sbin/chkconfig --add zarafa-server
# Ensure correct log file ownership after upgrade from official packages
chown zarafa:zarafa /var/log/zarafa/server.* > /dev/null 2>&1 || :

POSTUN

/bin/sh
if [ $1 -ne 0 ]; then
    /sbin/service zarafa-server condrestart > /dev/null 2>&1 || :
fi