mirror of
https://github.com/YunoHost-Apps/wetty_ynh.git
synced 2024-09-03 18:16:29 +02:00
Add comment about final_path
This commit is contained in:
parent
7f1a4f0188
commit
460e87957e
1 changed files with 3 additions and 0 deletions
|
@ -47,6 +47,9 @@ app=$YNH_APP_INSTANCE_NAME
|
||||||
# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS
|
# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
|
### In case of an app wich use directly nginx as webserver wich is written in html, php the final path is "/var/www/$app"
|
||||||
|
### For the app which has an internal webserver or which use uwsgi wich is written in python, java, go, ...
|
||||||
|
### the final path is "/opt/yunohost/$app"
|
||||||
final_path=/var/www/$app
|
final_path=/var/www/$app
|
||||||
test ! -e "$final_path" || ynh_die "This path already contains a folder"
|
test ! -e "$final_path" || ynh_die "This path already contains a folder"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue