Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > c10d15633a249a7193badb39a630cf24 > scriptlet

subscription-manager-1.10.8-1.fc18.i686.rpm

PREUN

/bin/sh
if [ $1 -eq 0 ] ; then
        /bin/systemctl --no-reload disable rhsmcertd.service > /dev/null 2>&1 || :
        /bin/systemctl stop rhsmcertd.service > /dev/null 2>&1 || :

    if [ -x /bin/dbus-send ] ; then
        dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig > /dev/null 2>&1 || :
    fi
fi

POSTIN

/bin/sh
    /bin/systemctl enable rhsmcertd.service >/dev/null 2>&1 || :
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
    /bin/systemctl try-restart rhsmcertd.service >/dev/null 2>&1 || :

if [ -x /bin/dbus-send ] ; then
  dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig > /dev/null 2>&1 || :
fi

POSTUN

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