mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-20 08:25:50 +08:00
Update index_php_yum.py
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user