From f51155bf58f1a5a3456be27dc6f4437d8c120ad3 Mon Sep 17 00:00:00 2001 From: Fabian Wilkens Date: Sat, 21 May 2022 15:19:55 +0200 Subject: [PATCH] Update: remove is_public --- manifest.json | 5 ----- scripts/install | 10 +++------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/manifest.json b/manifest.json index 07c0771..ec64e2e 100644 --- a/manifest.json +++ b/manifest.json @@ -38,11 +38,6 @@ "type": "path", "example": "/example", "default": "/example" - }, - { - "name": "is_public", - "type": "boolean", - "default": true } ] } diff --git a/scripts/install b/scripts/install index 51df507..1a27918 100755 --- a/scripts/install +++ b/scripts/install @@ -25,7 +25,6 @@ ynh_abort_if_errors domain=$YNH_APP_ARG_DOMAIN path_url=$YNH_APP_ARG_PATH -is_public=$YNH_APP_ARG_IS_PUBLIC app=$YNH_APP_INSTANCE_NAME #================================================= @@ -150,12 +149,9 @@ ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$ap ynh_script_progression --message="Configuring permissions..." --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 +# Everyone can access the app. +# The "main" permission is automatically created before the install script. +ynh_permission_update --permission="main" --add="visitors" #================================================= # RELOAD NGINX