Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > 952f7c7653f73650268eaf16cfa10a5f > scriptlet

opendkim-2.4.2-5.fc14.i686.rpm

PREIN

/bin/sh
getent group opendkim >/dev/null || groupadd -r opendkim
getent passwd opendkim >/dev/null || \
	useradd -r -g opendkim -G mail -d /var/run/opendkim -s /sbin/nologin \
	-c "OpenDKIM Milter" opendkim
exit 0

PREUN

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

POSTIN

/bin/sh
/sbin/chkconfig --add opendkim || :

POSTUN

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