From 54fc589e00f2fb107047c62611c487c823660f52 Mon Sep 17 00:00:00 2001 From: f Date: Mon, 7 Mar 2022 16:55:47 -0300 Subject: [PATCH] fixes --- syncthingd.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/syncthingd.sh b/syncthingd.sh index 3fe25a9..b5efc8c 100755 --- a/syncthingd.sh +++ b/syncthingd.sh @@ -2,6 +2,7 @@ pid=/tmp/syncthing.pid dir=/home/syncthing +log=/home/syncthing/syncthing.log case $1 in start) @@ -10,8 +11,9 @@ case $1 in install -dm 2750 -o syncthing -g syncthing ${dir}/Sync/.stfolder daemonize -p ${pid} -l ${pid} -u syncthing -c ${dir} \ + -a -e ${log} -o ${log} \ /usr/bin/syncthing serve \ - --skip-port-probing \ + --gui-address=http://[::]:8384 \ --no-browser \ --no-restart \ --no-upgrade \