فهرست منبع

Update init.sh.jinja2

qiaofeng1227 3 سال پیش
والد
کامیت
024c4c7aba
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      apps/roles/role_init/templates/init.sh.jinja2

+ 1 - 1
apps/roles/role_init/templates/init.sh.jinja2

@@ -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
 after_path=/data/apps/{{app_name}}/src/after_up.sh
 if [ -f "$after_path" ]; then
 if [ -f "$after_path" ]; then
   echo "after_up execute" 1>> /tmp/init_debug.txt
   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
 else
   echo "There is not after_up"
   echo "There is not after_up"
 fi
 fi