aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2021-10-21 17:19:18 +0200
committerAlex Auvolat <alex@adnab.me>2021-11-17 10:59:32 +0100
commit85b2e4ca2935000310dd64dbcfff39f28f69a295 (patch)
treeee25f6dc4324145b5aa0bd6e3533845c15c048a6
parentc94406f4282d48e2e2ac82ffb57eafaad23f7edc (diff)
downloadgarage-bug/script-socat.tar.gz
garage-bug/script-socat.zip
Start socat only oncev0.5.0bug/script-socat
Fixes #124
-rwxr-xr-xscript/dev-cluster.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/script/dev-cluster.sh b/script/dev-cluster.sh
index 9ac7ff34..d76c98a4 100755
--- a/script/dev-cluster.sh
+++ b/script/dev-cluster.sh
@@ -47,6 +47,10 @@ EOF
echo -en "$LABEL configuration written to $CONF_PATH\n"
+(garage -c /tmp/config.$count.toml server 2>&1|while read r; do echo -en "$LABEL $r\n"; done) &
+done
+# >>>>>>>>>>>>>>>> END FOR LOOP ON NODES
+
if [ -z "$SKIP_HTTPS" ]; then
echo -en "$LABEL Starting dummy HTTPS reverse proxy\n"
mkdir -p /tmp/garagessl
@@ -62,10 +66,6 @@ if [ -z "$SKIP_HTTPS" ]; then
socat openssl-listen:4443,reuseaddr,fork,cert=/tmp/garagessl/test.pem,verify=0 tcp4-connect:localhost:3911 &
fi
-(garage -c /tmp/config.$count.toml server 2>&1|while read r; do echo -en "$LABEL $r\n"; done) &
-done
-# >>>>>>>>>>>>>>>> END FOR LOOP ON NODES
-
sleep 3
# Establish connections between nodes
for count in $(seq 1 3); do