From a50baa7c309f7eb55fe87c71f4c688ace325b6ac Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Wed, 17 May 2017 17:10:45 +0200 Subject: Add logsDir setting and more - add logsDir setting in config.json - redirect Syncthing and Syncthing-inotify into log files - Use autogenerated Syncthing apikey if gui-apikey not set in config.json --- scripts/get-syncthing.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/get-syncthing.sh b/scripts/get-syncthing.sh index 8bc5346..6eb9c5b 100755 --- a/scripts/get-syncthing.sh +++ b/scripts/get-syncthing.sh @@ -31,7 +31,7 @@ tarball="syncthing-linux-amd64-v${SYNCTHING_VERSION}.tar.gz" \ && grep -E " ${tarball}\$" sha1sum.txt.asc | sha1sum -c - \ && rm sha1sum.txt.asc \ && tar -xvf "$tarball" --strip-components=1 "$(basename "$tarball" .tar.gz)"/syncthing \ - && mv syncthing ${DESTDIR}/syncthing + && mv syncthing ${DESTDIR}/syncthing || exit 1 echo "Get Syncthing-inotify..." -- cgit 1.2.3-korg