summaryrefslogtreecommitdiff
path: root/scripts/docker/files/start-server.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/docker/files/start-server.sh')
-rwxr-xr-xscripts/docker/files/start-server.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/docker/files/start-server.sh b/scripts/docker/files/start-server.sh
index b9b5e4ad..0980d352 100755
--- a/scripts/docker/files/start-server.sh
+++ b/scripts/docker/files/start-server.sh
@@ -27,8 +27,8 @@ CMD="/usr/local/soledad/test-env.py"
REPO="/var/local/soledad"
if [ ! -z "${SOLEDAD_REMOTE}" ]; then
- git -C ${REPO} remote add test ${SOLEDAD_REMOTE}
- git -C ${REPO} fetch test
+ git -C ${REPO} remote set-url origin ${SOLEDAD_REMOTE}
+ git -C ${REPO} fetch origin
fi
if [ ! -z "${SOLEDAD_BRANCH}" ]; then
@@ -80,4 +80,5 @@ fi
# actually run the server
#---------------------------------------------------------------------------
+echo "Starting soledad server..."
${CMD} soledad-server start --no-daemonize