1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpboost_ynh.git synced 2024-09-03 19:56:33 +02:00
This commit is contained in:
liberodark 2019-02-11 22:56:59 +01:00
parent 4b9c6fb693
commit e44ac9285b

View file

@ -47,7 +47,7 @@ app=$YNH_APP_INSTANCE_NAME
### 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 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" ### 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=/opt/yunohost/$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"
# Normalize the url path syntax # Normalize the url path syntax
@ -139,7 +139,7 @@ ynh_system_user_create $app
### that really need such authorization. ### that really need such authorization.
# Set permissions to app files # Set permissions to app files
#chown -R root: /etc/loolwsd chown -R www-data:www-data $final_path
#================================================= #=================================================