Update init.sh.jinja2

This commit is contained in:
qiaofeng1227 2022-12-06 11:49:32 +08:00 committed by GitHub
parent 6bb816e5cb
commit 1ef28d5e49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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