1 2 3 4 5 6 7 8 9 10
/bin/systemctl daemon-reload 2>&1 ||: # upgrade if [ $1 -gt 1 ] ; then /bin/systemctl condrestart certmonger.service 2>&1 ||: fi /bin/systemctl try-reload-or-restart \ dbus \ oddjobd ||: systemd-tmpfiles --create ipa.conf >/dev/null 2>&1 ||:
1 2 3 4 5
# Stop ipa_kpasswd if it exists before upgrading so we don't have a # zombie process when we're done. if [ -e /usr/sbin/ipa_kpasswd ]; then /bin/systemctl stop ipa_kpasswd.service >/dev/null 2>&1 ||: fi
1 2 3 4 5 6 7 8
# removal if [ $1 -eq 0 ]; then /bin/systemctl -q --no-reload disable ipa.service ||: /bin/systemctl -q stop ipa.service ||: /bin/systemctl try-reload-or-restart \ dbus \ oddjobd ||: fi