|
@ -240,12 +240,14 @@ class EEStackUpgradeController(CementBaseController): |
|
|
if (set(EEVariables.ee_nginx).issubset(set(apt_packages)) or |
|
|
if (set(EEVariables.ee_nginx).issubset(set(apt_packages)) or |
|
|
set(EEVariables.ee_nginx_dev).issubset(set(apt_packages))): |
|
|
set(EEVariables.ee_nginx_dev).issubset(set(apt_packages))): |
|
|
EEService.restart_service(self, 'nginx') |
|
|
EEService.restart_service(self, 'nginx') |
|
|
if set(EEVariables.ee_php).issubset(set(apt_packages)): |
|
|
if EEVariables.ee_platform_codename != 'trusty': |
|
|
EEService.restart_service(self, 'php5-fpm') |
|
|
if set(EEVariables.ee_php).issubset(set(apt_packages)): |
|
|
if set(EEVariables.ee_php5_6).issubset(set(apt_packages)): |
|
|
EEService.restart_service(self, 'php5-fpm') |
|
|
EEService.restart_service(self, 'php5.6-fpm') |
|
|
else: |
|
|
if set(EEVariables.ee_php7_0).issubset(set(apt_packages)): |
|
|
if set(EEVariables.ee_php5_6).issubset(set(apt_packages)): |
|
|
EEService.restart_service(self, 'php7.0-fpm') |
|
|
EEService.restart_service(self, 'php5.6-fpm') |
|
|
|
|
|
if set(EEVariables.ee_php7_0).issubset(set(apt_packages)): |
|
|
|
|
|
EEService.restart_service(self, 'php7.0-fpm') |
|
|
if set(EEVariables.ee_hhvm).issubset(set(apt_packages)): |
|
|
if set(EEVariables.ee_hhvm).issubset(set(apt_packages)): |
|
|
EEService.restart_service(self, 'hhvm') |
|
|
EEService.restart_service(self, 'hhvm') |
|
|
if set(EEVariables.ee_postfix).issubset(set(apt_packages)): |
|
|
if set(EEVariables.ee_postfix).issubset(set(apt_packages)): |
|
|