diff --git a/build/common/worker/docker-entrypoint.sh b/build/common/worker/docker-entrypoint.sh index d07e3cb6..d6194c17 100755 --- a/build/common/worker/docker-entrypoint.sh +++ b/build/common/worker/docker-entrypoint.sh @@ -125,7 +125,8 @@ elif [ "$1" = 'schedule' ]; then fi elif [ "$1" = 'new' ]; then - + checkConfigExists + checkConnection if [[ -z "$RUN_AS_ROOT" ]]; then su frappe -c ". /home/frappe/frappe-bench/env/bin/activate \ && python /home/frappe/frappe-bench/commands/new.py"