1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/filepizza_ynh.git synced 2024-09-03 18:36:01 +02:00

remove private

This commit is contained in:
ericgaspar 2022-03-29 17:04:11 +02:00
parent 8e0d0514cb
commit c0a3af6474
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 0 additions and 21 deletions

View file

@ -30,15 +30,6 @@
{
"name": "domain",
"type": "domain"
},
{
"name": "is_public",
"type": "boolean",
"help": {
"en": "If enabled, FilePizza will be accessible by people who do not have an account. This can be changed later via the webadmin.",
"fr": "Si cette case est cochée, FilePizza sera accessible aux personnes nayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin."
},
"default": true
}
]
}

View file

@ -25,7 +25,6 @@ ynh_abort_if_errors
domain=$YNH_APP_ARG_DOMAIN
path_url="/"
is_public=$YNH_APP_ARG_IS_PUBLIC
app=$YNH_APP_INSTANCE_NAME
@ -130,17 +129,6 @@ ynh_script_progression --message="Starting a systemd service..." --weight=6
# Start a systemd service
ynh_systemd_action --service_name=$app --action=restart --log_path="systemd"
#=================================================
# SETUP SSOWAT
#=================================================
ynh_script_progression --message="Configuring permissions..." --weight=1
# Make app public if necessary
if [ $is_public -eq 1 ]
then
ynh_permission_update --permission="main" --add="visitors"
fi
#=================================================
# RELOAD NGINX
#=================================================