mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-02-03 01:28:39 +08:00
Update init.sh.jinja2
This commit is contained in:
parent
1a55ad948a
commit
a8527bfb6f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user