Update index_php_yum.py

This commit is contained in:
Mr Chen
2024-09-24 14:11:46 +08:00
parent aef307c312
commit 94830659e9
+1 -2
View File
@@ -66,8 +66,7 @@ def getPhpSocket(version):
def status(version):
# ps -ef|grep 'php/81' |grep -v grep | grep -v python | awk '{print $2}
cmd = "ps -ef|grep 'remi/php" + version + \
"' |grep -v grep | grep -v python | awk '{print $2}'"
cmd = "ps -ef|grep 'remi/php" + version + "' |grep -v grep | grep -v python | awk '{print $2}'"
data = mw.execShell(cmd)
if data[0] == '':
return 'stop'