From 5e79ba4933775e6a310412ae72bd21a70e24061c Mon Sep 17 00:00:00 2001 From: zeus Date: Mon, 29 Nov 2021 13:04:06 +0200 Subject: [PATCH] ad config --- install/usr/share/swarmlab.io/sec/swarmlab-sec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index 14bfb10..7ee02f5 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -475,14 +475,13 @@ up_master () printf "\\n%s\\n" "$HEADER" echo "$ docker-compose up -d masterservice" printf "\\n" - your_program << ANSWERS + + docker-compose rm -f -s -v + docker-compose up --build --remove-orphans -d masterservice << ANSWERS yes yes yes ANSWERS - - docker-compose rm -f -s -v - echo $ANSWERS | docker-compose up --build --remove-orphans -d masterservice #docker-compose up --force-recreate -d masterservice }