Browse Source

Now if nginx reload failed then it will stop the executation during ee stack install

servicefixes
gau1991 10 years ago
parent
commit
f566f98635
  1. 4
      ee/cli/plugins/stack.py

4
ee/cli/plugins/stack.py

@ -691,7 +691,9 @@ class EEStackController(CementBaseController):
out=ee_nginx) out=ee_nginx)
ee_nginx.close() ee_nginx.close()
EEService.reload_service(self, 'nginx') if not EEService.reload_service(self, 'nginx'):
Log.error(self, "Failed to reload Nginx, please check "
"output of `nginx -t`")
if set(EEVariables.ee_mysql).issubset(set(apt_packages)): if set(EEVariables.ee_mysql).issubset(set(apt_packages)):
# TODO: Currently we are using, we need to remove it in future # TODO: Currently we are using, we need to remove it in future

Loading…
Cancel
Save