mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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…
x
Reference in New Issue
Block a user