Shu Ming has uploaded a new change for review. Change subject: Make svdsm files depend on path definitions ......................................................................
Make svdsm files depend on path definitions The files created by super vdsm process should be put into path defined by the path definition in constants.py Change-Id: Ia952e930d719c65a9bc503f8a097bdfc26b5a397 Signed-off-by: Shu Ming <[email protected]> --- M vdsm/supervdsm.py 1 file changed, 3 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/40/7540/1 diff --git a/vdsm/supervdsm.py b/vdsm/supervdsm.py index 3e881e8..7031a79 100644 --- a/vdsm/supervdsm.py +++ b/vdsm/supervdsm.py @@ -45,8 +45,9 @@ raise RuntimeError("SuperVDSM Server not found") -PIDFILE = "/var/run/vdsm/svdsm.pid" -ADDRESS = "/var/run/vdsm/svdsm.sock" +VAR_RUN_VDSM = constants.P_VDSM_RUN +PIDFILE = os.path.join(VAR_RUN_VDSM, "svdsm.pid") +ADDRESS = os.path.join(VAR_RUN_VDSM, "svdm.sock") SUPERVDSM = __supervdsmServerPath() -- To view, visit http://gerrit.ovirt.org/7540 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia952e930d719c65a9bc503f8a097bdfc26b5a397 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Shu Ming <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
