Commit 914ed815 authored by Alain Takoudjou's avatar Alain Takoudjou

Stop all process when remove instance

parent 6c804dac
...@@ -176,9 +176,8 @@ def removeInstance(): ...@@ -176,9 +176,8 @@ def removeInstance():
if isInstanceRunning(app.config): if isInstanceRunning(app.config):
flash('Instantiation in progress, cannot remove') flash('Instantiation in progress, cannot remove')
else: else:
stopProxy(app.config)
removeProxyDb(app.config) removeProxyDb(app.config)
startProxy(app.config) svcStopAll(app.config) #Stop All instance process
removeInstanceRoot(app.config) removeInstanceRoot(app.config)
param_path = os.path.join(app.config['etc_dir'], ".parameter.xml") param_path = os.path.join(app.config['etc_dir'], ".parameter.xml")
if os.path.exists(param_path): if os.path.exists(param_path):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment