1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hydrogen_ynh.git synced 2024-09-03 19:26:17 +02:00

remove subfolder install

This commit is contained in:
ericgaspar 2022-08-13 07:36:27 +02:00
parent d4baa06967
commit 3bb88968ca
3 changed files with 1 additions and 25 deletions

View file

@ -32,17 +32,6 @@
"name": "domain",
"type": "domain"
},
{
"name": "path",
"type": "path",
"example": "/hydrogen",
"default": "/hydrogen"
},
{
"name": "is_public",
"type": "boolean",
"default": true
},
{
"name": "default_server",
"type": "string",

View file

@ -25,7 +25,7 @@ ynh_abort_if_errors
#=================================================
domain=$YNH_APP_ARG_DOMAIN
path_url=$YNH_APP_ARG_PATH
path_url="/"
is_public=$YNH_APP_ARG_IS_PUBLIC
default_server=$YNH_APP_ARG_DEFAULT_SERVER

View file

@ -92,19 +92,6 @@ chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
#=================================================
# SETUP SSOWAT
#=================================================
ynh_script_progression --message="Configuring permissions..." --time --weight=1
# Make app public if necessary
if [ $is_public -eq 1 ]
then
# Everyone can access the app.
# The "main" permission is automatically created before the install script.
ynh_permission_update --permission="main" --add="visitors"
fi
#=================================================
# NGINX CONFIGURATION
#=================================================