Create ./worker-data/env_file if it doesn't exist

This commit is contained in:
conache 2024-08-10 01:22:37 +03:00
parent cddba4c19e
commit a4d66dd9e2
No known key found for this signature in database

View File

@ -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