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