Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 2f06e4e3916ddccb4be0182b4ece60c6 > scriptlet

certmonger-0.59-1.fc16.i686.rpm

PREUN

/bin/sh
	/bin/systemctl --no-reload disable certmonger.service > /dev/null 2>&1 || :
	/bin/systemctl stop certmonger.service > /dev/null 2>&1 || :
exit 0

POSTIN

/bin/sh
if test $1 -eq 1 ; then
	killall -HUP dbus-daemon 2>&1 > /dev/null
fi
if test $1 -eq 1 ; then
	/bin/systemctl daemon-reload >/dev/null 2>&1 || :
fi

POSTUN

/bin/sh
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
if [ $1 -ge 1 ] ; then
	/bin/systemctl try-restart certmonger.service >/dev/null 2>&1 || :
fi
exit 0

Triggers

certmonger < 0.43

/bin/sh
# Save the current service runlevel info, in case the user wants to apply
# the enabled status manually later, by running
#   "systemd-sysv-convert --apply certmonger".
/usr/bin/systemd-sysv-convert --save certmonger >/dev/null 2>&1 ||:
# Do this because the old package's %postun doesn't know we need to do it.
/sbin/chkconfig --del certmonger >/dev/null 2>&1 || :
# Do this because the old package's %postun wouldn't have tried.
/bin/systemctl try-restart certmonger.service >/dev/null 2>&1 || :
exit 0