Update init.sh.jinja2

This commit is contained in:
qiaofeng1227 2022-08-03 09:49:23 +08:00 committed by GitHub
parent 1a55ad948a
commit a8527bfb6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,6 +54,7 @@ bash /data/apps/{{app_name}}/src/after_up.sh
{% endfor %}
# create password file for guests
cat /data/apps/{{appname}}/.env |grep 'DB_\|APP_' > /credentials/password.txt
grep "APP_" /data/apps/{{appname}/.env >> /credentials/password.txt
grep "DB_" /data/apps/{{appname}/.env >> /credentials/password.txt
sudo sh -c 'echo "init docker ended at" $(date -d now) 1>> /tmp/init_debug.txt'
sudo echo "init docker ended at" $(date -d now) 1>> /tmp/init_debug.txt