From 9d862e960fe836133fd6155f685f272f2199b3e4 Mon Sep 17 00:00:00 2001 From: f Date: Mon, 7 Oct 2019 16:04:29 -0300 Subject: [PATCH] fix --- syncthing_start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syncthing_start.sh b/syncthing_start.sh index 6dac0ca..02be1dc 100644 --- a/syncthing_start.sh +++ b/syncthing_start.sh @@ -2,11 +2,11 @@ pid=/tmp/syncthing.pid dir=/home/syncthing -log=${home}/syncthing.log +log=${dir}/syncthing.log rm -f ${pid} -install -dm 2750 -o syncthing -g syncthing ${home}/Sync/.stfolder +install -dm 2750 -o syncthing -g syncthing ${dir}/Sync/.stfolder daemonize -p ${pid} -l ${pid} -u syncthing -c ${dir} \ -o ${log} -a -e ${log} \