|
@ -240,8 +240,10 @@ 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 EEVariables.ee_platform_codename != 'trusty': |
|
|
if set(EEVariables.ee_php).issubset(set(apt_packages)): |
|
|
if set(EEVariables.ee_php).issubset(set(apt_packages)): |
|
|
EEService.restart_service(self, 'php5-fpm') |
|
|
EEService.restart_service(self, 'php5-fpm') |
|
|
|
|
|
else: |
|
|
if set(EEVariables.ee_php5_6).issubset(set(apt_packages)): |
|
|
if set(EEVariables.ee_php5_6).issubset(set(apt_packages)): |
|
|
EEService.restart_service(self, 'php5.6-fpm') |
|
|
EEService.restart_service(self, 'php5.6-fpm') |
|
|
if set(EEVariables.ee_php7_0).issubset(set(apt_packages)): |
|
|
if set(EEVariables.ee_php7_0).issubset(set(apt_packages)): |
|
|