Преглед на файлове

Merge pull request #48 from Josue-T/patch-1

Add comment about final_path
Maniack Crudelis преди 6 години
родител
ревизия
ce0bcd0e16
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      scripts/install

+ 2 - 0
scripts/install

@@ -47,6 +47,8 @@ app=$YNH_APP_INSTANCE_NAME
 # CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS
 #=================================================
 
+### If the app uses nginx as web server (written in HTML/PHP in most cases), the final path should be "/var/www/$app".
+### If the app provides an internal web server (or uses another application server such as uwsgi), the final path should be "/opt/yunohost/$app"
 final_path=/var/www/$app
 test ! -e "$final_path" || ynh_die "This path already contains a folder"