mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-12-11 17:00:41 +00:00
Update init.sh.jinja2
This commit is contained in:
parent
6bb816e5cb
commit
1ef28d5e49
1 changed files with 6 additions and 0 deletions
|
@ -14,6 +14,12 @@ sudo sh -c 'echo "init-password started at" $(date -d now) 1>> /tmp/init_debug.
|
|||
|
||||
{% for app_name in applist.stdout_lines %}
|
||||
|
||||
if [ ! -d "/data/apps/{{app_name}}" ];then
|
||||
continue
|
||||
else
|
||||
echo "this app is ok"
|
||||
fi
|
||||
|
||||
dockercompose_up=$(cat /data/apps/{{app_name}}/.env |grep "APP_COMPOSE_UP=false")
|
||||
|
||||
#1 init for applist of .env
|
||||
|
|
Loading…
Reference in a new issue