From 801d108d0e6857b54f0340d3702d21a96345c56a Mon Sep 17 00:00:00 2001 From: Rik Veenboer Date: Sat, 9 Apr 2016 16:21:54 +0100 Subject: [PATCH] Minor fixes to btsync container --- build/boot/btsync.sh | 2 +- build/scripts/btsync.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/boot/btsync.sh b/build/boot/btsync.sh index 01ad6c9..878a257 100755 --- a/build/boot/btsync.sh +++ b/build/boot/btsync.sh @@ -3,5 +3,5 @@ set -e if [[ ! -e $BTSYNC_CONFIG ]]; then mkdir -p `dirname $BTSYNC_CONFIG` /opt/btsync --dump-sample-config > $BTSYNC_CONFIG - sed -i "s,\(\"listen\"\s*:\).*,\1 \"0.0.0.0:8888\"\,," $BTSYNC_CONFIG + sed -i "s,// \(\"storage_path\"\).*, \1 : \"$BTSYNC_DATA\"\,," $BTSYNC_CONFIG fi \ No newline at end of file diff --git a/build/scripts/btsync.sh b/build/scripts/btsync.sh index 81f6e29..df6cb79 100755 --- a/build/scripts/btsync.sh +++ b/build/scripts/btsync.sh @@ -4,7 +4,7 @@ source /build/config set -x ## Configuration -export_env BTSYNC_CONFIG /host/etc/btsync.conf +export_env BTSYNC_CONFIG /host/etc/btsync/btsync.conf export_env BTSYNC_DATA /host/var/btsync ## BTsync