We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e60ab6 commit ea10cc3Copy full SHA for ea10cc3
tools/shell/1-init
@@ -60,3 +60,5 @@ done
60
mc mb --ignore-existing minio/sunstorm
61
mc rm -r --force minio/sunstorm/.neon
62
mc cp -r ./init/r0/.neon minio/sunstorm/
63
+touch ./init/.done
64
+mc cp ./init/.done minio/sunstorm/.neon/
tools/shell/2-restart
@@ -96,6 +96,9 @@ if [ $stop_only -eq 0 ] && ([ ! -d $DATA ] || [ $new_data -eq 1 ]); then
96
until (mc alias set minio http://$HUB_ADDR:9000 minioadmin minioadmin) do
97
echo 'Waiting to start minio...' && sleep 1
98
done
99
+ until (/usr/bin/mc stat minio/sunstorm/.neon/.done) do
100
+ echo 'Waiting for the base data...' && sleep 1
101
+ done
102
mc cp -r minio/sunstorm/.neon $DATA/
103
fi
104
0 commit comments