mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-9645: Moving stop of management in config inside if statement.
It will only run the stop command when --no-start is specified.
This commit is contained in:
parent
e8de07a1ae
commit
6b2eb3b99a
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue