mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-25 02:38:42 +08:00
Update init.sh.jinja2
This commit is contained in:
parent
769789da82
commit
2b8a4e5214
@ -24,7 +24,10 @@ export $(cat .env)
|
|||||||
envsubst < .env > temp
|
envsubst < .env > temp
|
||||||
cat temp > .env
|
cat temp > .env
|
||||||
rm -f temp
|
rm -f temp
|
||||||
|
|
||||||
|
{% if app_name == appname %}
|
||||||
cat .env |grep 'DB_\|APP_' > /credentials/password.txt
|
cat .env |grep 'DB_\|APP_' > /credentials/password.txt
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
# init APP_URL
|
# init APP_URL
|
||||||
app_url_replace=$(cat /data/apps/{{app_name}}/.env |grep APP_URL_REPLACE)
|
app_url_replace=$(cat /data/apps/{{app_name}}/.env |grep APP_URL_REPLACE)
|
||||||
|
Loading…
Reference in New Issue
Block a user