From ee5dc6e5b874f86442121133007e1abacb462794 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Mon, 26 Feb 2018 14:58:02 -0800 Subject: [PATCH] Set defaultFolderPath --- start.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/start.sh b/start.sh index adc9423..3d57266 100755 --- a/start.sh +++ b/start.sh @@ -2,7 +2,7 @@ set -eu -mkdir -p /app/data/config +mkdir -p /app/data/config /app/data/folders # if this if the first run, generate a useful config if [ ! -f /app/data/config/config.xml ]; then @@ -13,6 +13,7 @@ if [ ! -f /app/data/config/config.xml ]; then xmlstarlet ed --inplace \ --subnode "//configuration/gui" -t elem -n user -v "admin" \ --subnode "//configuration/gui" -t elem -n password -v '$2a$10$93OsgwAMD4NcPFTpGDnuTORMMbj5dc1ZlYUPrQCcy1N/Bsy9scUvK' \ + --update "//configuration/options/defaultFolderPath" -v '/app/data/folders' \ /app/data/config/config.xml fi