Update init.sh.jinja2

This commit is contained in:
qiaofeng1227 2022-07-14 08:50:54 +08:00 committed by GitHub
parent f755307ccd
commit 024c4c7aba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ sudo docker compose -f /data/apps/{{app_name}}/docker-compose.yml up -d
after_path=/data/apps/{{app_name}}/src/after_up.sh
if [ -f "$after_path" ]; then
echo "after_up execute" 1>> /tmp/init_debug.txt
bash /data/apps/{{app_name}}/src/after_up.sh $newpassword
bash /data/apps/{{app_name}}/src/after_up.sh
else
echo "There is not after_up"
fi