mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-18 22:25:09 +00:00
Merge pull request #259 from revant/feat-wait-before-new
feat: wait for connection before creating site
This commit is contained in:
commit
9756c03ec7
1 changed files with 2 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue