Update init.sh.jinja2

This commit is contained in:
qiaofeng1227 2022-07-14 08:13:57 +08:00 committed by GitHub
parent 09ceea7367
commit 8953a52a79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ sudo docker compose -f /data/apps/{{app_name}}/docker-compose.yml up -d
#2 init for applist of special
after_path=/data/apps/{{app_name}}/src/after_up.sh
if [ -f "$after_path" ]; then
bash /data/apps/{{app_name}}/src/after_up.sh
bash /data/apps/{{app_name}}/src/after_up.sh $newpassword
else
echo "There is not after_up"
fi