From 71c7a38297fa6d518caed211d7be0d872ae77e48 Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 13 Sep 2019 01:30:24 +0800 Subject: [PATCH] Update rsyncd.tpl --- plugins/rsyncd/init.d/rsyncd.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/rsyncd/init.d/rsyncd.tpl b/plugins/rsyncd/init.d/rsyncd.tpl index f4f3c74ed..2ee441060 100755 --- a/plugins/rsyncd/init.d/rsyncd.tpl +++ b/plugins/rsyncd/init.d/rsyncd.tpl @@ -21,7 +21,7 @@ p_start(){ if [ -f /var/run/rsyncd.pid ]; then rm -rf /var/run/rsyncd.pid fi - /usr/bin/rsync --daemon + /usr/bin/rsync --daemon --config=/etc/rsyncd.conf sleep 0.3 isStart=$(ps -ef | grep rsync | grep 'daemon' | grep -v grep | grep -v python | awk '{print $2}') if [ "$isStart" == '' ];then