mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.py
This commit is contained in:
@@ -59,7 +59,7 @@ def checkArgs(data, ck=[]):
|
|||||||
|
|
||||||
def status():
|
def status():
|
||||||
data = public.execShell(
|
data = public.execShell(
|
||||||
"ps -ef|grep smbd |grep -v grep | grep -v python | awk '{print $2}'")
|
"ps -ef|grep rsync |grep -v grep | grep -v python | awk '{print $2}'")
|
||||||
if data[0] == '':
|
if data[0] == '':
|
||||||
return 'stop'
|
return 'stop'
|
||||||
return 'start'
|
return 'start'
|
||||||
|
|||||||
Reference in New Issue
Block a user