diff --git a/docker_files/bin/zenith b/docker_files/bin/zenith index 49a0648..f8e0773 100755 Binary files a/docker_files/bin/zenith and b/docker_files/bin/zenith differ diff --git a/docker_files/zenith-docker_0.6.0.0/setup_docker b/docker_files/zenith-docker_0.6.0.0/setup_docker index 8c8bf2d..a1c1308 100755 --- a/docker_files/zenith-docker_0.6.0.0/setup_docker +++ b/docker_files/zenith-docker_0.6.0.0/setup_docker @@ -1,4 +1,4 @@ -#/bin/bash +#!/bin/bash ZVERSION="0.6.0.0" echo echo "Zenith Full Node Docker Image Setup" @@ -27,8 +27,10 @@ if systemctl is-active --quiet docker; then docker load < zenith-docker_$ZVERSION.tar echo "... docker image zenith-docker:"$ZVERSION" loaded." echo "... creating Zenith folder" - mkdir $HOME/Zenith + mkdir -p $HOME/Zenith/assets + echo "... creating default configuration" cp cfg/zenith.cfg $HOME/Zenith/ + cp -r /assets/ $HOME/Zenith/assets if ! [ -d $HOME/.local/bin ]; then echo "... creating $HOME/.local/bin folder" mkdir -p $HOME/.local/bin @@ -38,10 +40,10 @@ if systemctl is-active --quiet docker; then if [ -f $HOME/.local/bin/runzenith ]; then rm $HOME/.local/bin/runzenith fi - echo "... copying runzenith to $HOME/.local/bin " + echo "... copying runzenith to $HOME/.local/bin" cp cfg/runzenith $HOME/.local/bin/ if echo $PATH | grep -q $HOME/.local/bin ; then - echo PATH=$PATH:$HOME/.local/bin' | tee -a $HOME/.bashrc + echo PATH=$PATH:$HOME/.local/bin | tee -a $HOME/.bashrc echo "Reloading configuration ...." source $HOME/.bashrc fi