Alon Bar-Lev has uploaded a new change for review. Change subject: packaging: spec: register/unregister sysv daemons ......................................................................
packaging: spec: register/unregister sysv daemons Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1063873 Change-Id: I53298969ea5c6ed4b6719a4f7b62426ef1efbd22 Signed-off-by: Alon Bar-Lev <[email protected]> --- M ovirt-engine.spec.in 1 file changed, 13 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/70/24370/1 diff --git a/ovirt-engine.spec.in b/ovirt-engine.spec.in index fe60674..6bd5e4a 100644 --- a/ovirt-engine.spec.in +++ b/ovirt-engine.spec.in @@ -278,6 +278,9 @@ %systemd_postun fi %endif +%if %{ovirt_install_systemv} +chkconfig --add ovirt-engine +%endif %preun backend %if %{ovirt_install_systemd} @@ -287,6 +290,7 @@ %if %{ovirt_install_systemv} if [ $1 -eq 0 ]; then service ovirt-engine stop > /dev/null 2>&1 || true + chkconfig --del ovirt-engine fi %endif @@ -407,6 +411,10 @@ %if %{ovirt_install_systemd} %systemd_post ovirt-engine-notifier.service %endif +%if %{ovirt_install_systemv} +chkconfig --add ovirt-engine-notifier +%endif + %if %{ovirt_install_poms} %update_maven_depmap %endif @@ -427,6 +435,7 @@ %if %{ovirt_install_systemv} if [ $1 -eq 0 ]; then service ovirt-engine-notifier stop > /dev/null 2>&1 || true + chkconfig --del ovirt-engine-notifier fi %endif @@ -453,6 +462,9 @@ %if %{ovirt_install_systemd} %systemd_post ovirt-websocket-proxy.service %endif +%if %{ovirt_install_systemv} +chkconfig --add ovirt-websocket-proxy +%endif %postun websocket-proxy %if %{ovirt_install_systemd} @@ -467,6 +479,7 @@ %if %{ovirt_install_systemv} if [ $1 -eq 0 ]; then service ovirt-websocket-proxy stop > /dev/null 2>&1 || true + chkconfig --del ovirt-websocket-proxy fi %endif -- To view, visit http://gerrit.ovirt.org/24370 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I53298969ea5c6ed4b6719a4f7b62426ef1efbd22 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.3 Gerrit-Owner: Alon Bar-Lev <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
