From a4d66dd9e23c5a9f823acfed6ae1f622c2b15e5b Mon Sep 17 00:00:00 2001 From: conache Date: Sat, 10 Aug 2024 01:22:37 +0300 Subject: [PATCH] Create ./worker-data/env_file if it doesn't exist --- init.config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.config b/init.config index 038439c..25833ae 100755 --- a/init.config +++ b/init.config @@ -25,6 +25,9 @@ if [ -n "$mnemonic" ]; then exit 1 fi +# Ensure the worker-data directory exists +mkdir -p ./worker-data + if [ ! -f ./worker-data/env_file ]; then echo "ENV_LOADED=false" > ./worker-data/env_file fi