Alon Bar-Lev has uploaded a new change for review.

Change subject: packaging: spec: stop sysv services when package remove
......................................................................

packaging: spec: stop sysv services when package remove

Change-Id: I909dc0b5062bf76bf19ab535bac548473184a21b
Signed-off-by: Alon Bar-Lev <alo...@redhat.com>
---
M ovirt-engine.spec.in
1 file changed, 10 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/15/16215/1

diff --git a/ovirt-engine.spec.in b/ovirt-engine.spec.in
index f33a274..626c953 100644
--- a/ovirt-engine.spec.in
+++ b/ovirt-engine.spec.in
@@ -315,6 +315,11 @@
 %systemd_preun ovirt-engine-notifier.service
 %endif
 
+%if %{install_systemv}
+if [ $1 -eq 0 ] ; then
+    service ovirt-engine-notifier stop
+fi
+%endif
 
 %package websocket-proxy
 Summary: %{product_name_short} Websocket Proxy
@@ -497,6 +502,11 @@
 %systemd_preun ovirt-engine.service
 %endif
 
+%if %{install_systemv}
+if [ $1 -eq 0 ] ; then
+    service ovirt-engine stop
+fi
+%endif
 
 %postun
 if [ "$1" -eq 0 ]


-- 
To view, visit http://gerrit.ovirt.org/16215
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I909dc0b5062bf76bf19ab535bac548473184a21b
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to