From 0e544652466d338b23ae4356983242d3619445c1 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sat, 25 Dec 2021 23:52:53 +0200 Subject: Added logs file creation --- init.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/init.sh b/init.sh index 1f1fa78..943418b 100755 --- a/init.sh +++ b/init.sh @@ -9,6 +9,7 @@ if [[ ! -d $ZBLOCKDIR ]]; then mkdir $ZBLOCKDIR ;fi if [[ ! -d $BLOCKDIR ]]; then mkdir $BLOCKDIR ;fi if [[ ! -d $DATADIR ]]; then mkdir $DATADIR ;fi if [[ ! -d $ARCHIVESDIR ]]; then mkdir $ARCHIVESDIR ;fi +if [[ ! -f $LOGSFILE ]]; then touch $LOGSFILE ;fi if [[ ! -f $GENESIS ]] ; then touch $GENESIS;fi if [[ ! -f $ZGENESIS ]] ; then echo "$(ipfs add -q $GENESIS)" > $ZGENESIS;fi if [[ ! -f $ZCHAIN ]] ; then echo "$(ipfs key gen zchain)" > $ZCHAIN;fi -- cgit v1.2.3