Change in vdsm[master]: init: run post-vdsm stop hook

danken at redhat.com danken at redhat.com
Mon Apr 18 12:34:33 UTC 2016


Dan Kenigsberg has uploaded a new change for review.

Change subject: init: run post-vdsm stop hook
......................................................................

init: run post-vdsm stop hook

this patch fixes a regression introduced by commit 18b01171.

Change-Id: I11e5654c38df96ca853fd022bbda7dbfeb368b19
Signed-off-by: Dan Kenigsberg <danken at redhat.com>
---
M init/vdsmd_init_common.sh.in
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/89/56289/1

diff --git a/init/vdsmd_init_common.sh.in b/init/vdsmd_init_common.sh.in
index c39bbf8..aa690ad 100644
--- a/init/vdsmd_init_common.sh.in
+++ b/init/vdsmd_init_common.sh.in
@@ -224,7 +224,7 @@
 
 #### post-stop tasks ####
 task_run_final_hooks(){
-    "@PYTHON@" "@VDSMDIR@/hooks.pyc" after_vdsm_stop
+    "@PYTHON@" -m "vdsm.hooks" after_vdsm_stop
 }
 #### post-stop tasks end ####
 


-- 
To view, visit https://gerrit.ovirt.org/56289
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I11e5654c38df96ca853fd022bbda7dbfeb368b19
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <danken at redhat.com>


More information about the vdsm-patches mailing list