Browse Source

git commit after nginx update

release/v3.3.0
gau1991 10 years ago
parent
commit
7a9365dbba
  1. 3
      ee/cli/plugins/stack_upgrade.py

3
ee/cli/plugins/stack_upgrade.py

@ -7,6 +7,7 @@ from ee.core.apt_repo import EERepo
from ee.core.services import EEService
from ee.core.fileutils import EEFileUtils
from ee.core.shellexec import EEShellExec
from ee.core.git import EEGit
import configparser
import os
@ -213,6 +214,8 @@ class EEStackUpgradeController(CementBaseController):
self.app.render((data), 'nginx-core.mustache', out=ee_nginx)
ee_nginx.close()
EEGit.add(self, ["/etc/nginx"], msg="Updated Nginx")
EEService.restart_service(self, 'nginx')
if set(EEVariables.ee_php).issubset(set(apt_packages)):

Loading…
Cancel
Save