Update index.py

This commit is contained in:
Mr Chen
2019-03-06 14:33:32 +08:00
parent 0461fabab0
commit 912eda2cb8
+1 -1
View File
@@ -59,7 +59,7 @@ def checkArgs(data, ck=[]):
def status():
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] == '':
return 'stop'
return 'start'