ensure to always overwrite config files
This commit is contained in:
parent
629b2c49da
commit
8014972625
1 changed files with 5 additions and 5 deletions
|
@ -1,9 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo $CONFIGFILE | base64 --decode >> /config/config.toml
|
echo $CONFIGFILE | base64 --decode > /config/config.toml
|
||||||
echo $GENESISFILE | base64 --decode >> /config/genesis.json
|
echo $GENESISFILE | base64 --decode > /config/genesis.json
|
||||||
echo $LOGCONFIGFILE | base64 --decode >> /config/log-config.xml
|
echo $LOGCONFIGFILE | base64 --decode > /config/log-config.xml
|
||||||
echo $STATICNODESFILE | base64 --decode >> /config/static-nodes.json
|
echo $STATICNODESFILE | base64 --decode > /config/static-nodes.json
|
||||||
|
|
||||||
if [[ -z "${NODEKEY}" ]]; then
|
if [[ -z "${NODEKEY}" ]]; then
|
||||||
echo "Key is not set"
|
echo "Key is not set"
|
||||||
|
@ -14,7 +14,7 @@ fi
|
||||||
if [[ -z "${PERMISSIONSFILE}" ]]; then
|
if [[ -z "${PERMISSIONSFILE}" ]]; then
|
||||||
echo "Permissions File not set"
|
echo "Permissions File not set"
|
||||||
else
|
else
|
||||||
echo $PERMISSIONSFILE | base64 --decode >> /config/permissions_config.toml
|
echo $PERMISSIONSFILE | base64 --decode > /config/permissions_config.toml
|
||||||
fi
|
fi
|
||||||
|
|
||||||
/opt/besu/bin/besu \
|
/opt/besu/bin/besu \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue