From 5beee0fe21352f038742728ba609969d704637ca Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Wed, 6 Mar 2019 14:33:32 +0800 Subject: [PATCH] Update index.py --- plugins/rsyncd/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/rsyncd/index.py b/plugins/rsyncd/index.py index 1f592f6e3..77b970509 100755 --- a/plugins/rsyncd/index.py +++ b/plugins/rsyncd/index.py @@ -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'