Merge pull request #577 from WordOps/updating-configuration
Fix stack status
This commit is contained in:
@@ -256,13 +256,6 @@ class WOStackStatusController(CementBaseController):
|
||||
if os.path.exists(f'{wo_system}' + f'php{version}-fpm.service'):
|
||||
services = services + [f'php{version}-fpm']
|
||||
|
||||
for parg_version, version in WOVar.wo_php_versions.items():
|
||||
if (getattr(pargs, parg_version, False) and
|
||||
os.path.exists(f'{wo_system}' + f'php{version}-fpm.service')):
|
||||
services = services + [f'php{version}-fpm']
|
||||
else:
|
||||
Log.info(self, f"PHP{version}-FPM is not installed")
|
||||
|
||||
if pargs.mysql:
|
||||
if ((WOVar.wo_mysql_host == "localhost") or
|
||||
(WOVar.wo_mysql_host == "127.0.0.1")):
|
||||
|
||||
@@ -32,7 +32,7 @@ class WOStackUpgradeController(CementBaseController):
|
||||
(['--nginx'],
|
||||
dict(help='Upgrade Nginx stack', action='store_true')),
|
||||
(['--php'],
|
||||
dict(help='Upgrade PHP 7.2 stack', action='store_true')),
|
||||
dict(help='Upgrade PHP stack', action='store_true')),
|
||||
(['--mysql'],
|
||||
dict(help='Upgrade MySQL stack', action='store_true')),
|
||||
(['--mariadb'],
|
||||
|
||||
Reference in New Issue
Block a user