add env and +x
This commit is contained in:
parent
e65e0d95ed
commit
714bf4c863
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
@ -25,7 +25,7 @@ if [ -n "$mnemonic" ]; then
|
|||||||
echo "NAME=$nodeName" >> ./worker-data/env_file
|
echo "NAME=$nodeName" >> ./worker-data/env_file
|
||||||
echo "ENV_LOADED=true" >> ./worker-data/env_file
|
echo "ENV_LOADED=true" >> ./worker-data/env_file
|
||||||
echo "wallet mnemonic already provided by you, loading config.json . Please proceed to run docker compose"
|
echo "wallet mnemonic already provided by you, loading config.json . Please proceed to run docker compose"
|
||||||
exit 1
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f ./worker-data/env_file ]; then
|
if [ ! -f ./worker-data/env_file ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user