Browse Source

Add nginx mainline to restart on upgrade

develop
Prabuddha Chakraborty 9 years ago
parent
commit
09645db026
  1. 3
      ee/cli/plugins/stack_upgrade.py

3
ee/cli/plugins/stack_upgrade.py

@ -214,7 +214,8 @@ class EEStackUpgradeController(CementBaseController):
EEAptGet.install(self, apt_packages)
# Post Actions after package updates
if set(EEVariables.ee_nginx).issubset(set(apt_packages)):
if (set(EEVariables.ee_nginx).issubset(set(apt_packages)) or
set(EEVariables.ee_nginx_dev).issubset(set(apt_packages))):
EEService.restart_service(self, 'nginx')
if set(EEVariables.ee_php).issubset(set(apt_packages)):
EEService.restart_service(self, 'php5-fpm')

Loading…
Cancel
Save