Change in ovirt-engine[master]: packaging: setup: reorder service stop

oschreib at redhat.com oschreib at redhat.com
Wed Jul 10 22:22:30 UTC 2013


Ofer Schreiber has submitted this change and it was merged.

Change subject: packaging: setup: reorder service stop
......................................................................


packaging: setup: reorder service stop

use Service.available() instead of Service.isServiceAvailable() as it
works at both systemd and sysv.

also check service exists before attempt stop.

Change-Id: I909591f5b92def2b04252012f906e39052276b04
Signed-off-by: Alon Bar-Lev <alonbl at redhat.com>
---
M packaging/fedora/setup/engine-cleanup.py
M packaging/fedora/setup/engine-setup.py
M packaging/fedora/setup/engine-upgrade.py
3 files changed, 16 insertions(+), 13 deletions(-)

Approvals:
  Ofer Schreiber: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I909591f5b92def2b04252012f906e39052276b04
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Alex Lourie <alourie at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Eyal Edri <eedri at redhat.com>
Gerrit-Reviewer: Ofer Schreiber <oschreib at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>



More information about the Engine-commits mailing list