Browse Source

Update init.sh.jinja2

qiaofeng1227 2 years ago
parent
commit
07698bd874
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/roles/role_init/templates/init.sh.jinja2

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

@@ -8,7 +8,7 @@ replace_with_value_env(){
   rm -f temp
 }
 
-if [ -d /data/apps/{{app_name}} ]; then
+if [ -d /data/apps/{{appname}} ]; then
   echo "It is a docker project"
 else
   echo "It is not a docker project"