This commit is contained in:
Janio Sarmento
2022-01-23 15:14:24 -03:00
parent b4476d3aa7
commit 555269decf
11 changed files with 943 additions and 45 deletions

View File

@@ -166,7 +166,9 @@ class WOService():
.format(service_name))
if is_exist[0] == 0 or service_name in ['php7.2-fpm',
'php7.3-fpm',
'php7.4-fpm']:
'php7.4-fpm',
'php8.0-fpm',
'php8.1-fpm',]:
retcode = subprocess.getstatusoutput('service {0} status'
.format(service_name))
if retcode[0] == 0: