cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [1/5] git commit: updated refs/heads/master to 51aa698
Date Wed, 07 Dec 2016 18:50:09 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 0e057ad69 -> 51aa69801


CLOUDSTACK-9645: Moving stop of management in config inside if statement.

It will only run the stop command when --no-start is specified.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/6b2eb3b9
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/6b2eb3b9
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/6b2eb3b9

Branch: refs/heads/master
Commit: 6b2eb3b99ae16bbb9daa5f515cc6c2abe10c543d
Parents: e8de07a
Author: Pall Helgason <palli@greenqloud.com>
Authored: Tue Dec 8 13:28:08 2015 +0000
Committer: jeff <jeff@greenqloud.com>
Committed: Thu Dec 1 12:59:37 2016 +0000

----------------------------------------------------------------------
 python/lib/cloudutils/serviceConfigServer.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6b2eb3b9/python/lib/cloudutils/serviceConfigServer.py
----------------------------------------------------------------------
diff --git a/python/lib/cloudutils/serviceConfigServer.py b/python/lib/cloudutils/serviceConfigServer.py
index dce85a0..377552f 100644
--- a/python/lib/cloudutils/serviceConfigServer.py
+++ b/python/lib/cloudutils/serviceConfigServer.py
@@ -137,9 +137,8 @@ class cloudManagementConfig(serviceCfgBase):
         except:
             pass
 
-        self.syscfg.svo.stopService("cloudstack-management")
-
         if self.syscfg.env.noStart == False:
+            self.syscfg.svo.stopService("cloudstack-management")
             if self.syscfg.svo.enableService("cloudstack-management"):
                 return True
             else:


Mime
View raw message