From 7030f76eef787068fa90232fc54f218c857ab9dc Mon Sep 17 00:00:00 2001 From: Krakinou Date: Sat, 20 Jan 2024 17:13:07 +0100 Subject: [PATCH] Typo from merge --- scripts/install | 33 +-------------------------------- 1 file changed, 1 insertion(+), 32 deletions(-) diff --git a/scripts/install b/scripts/install index a6c93ae..7290987 100755 --- a/scripts/install +++ b/scripts/install @@ -132,41 +132,10 @@ fi # Create a dedicated Fail2Ban config ynh_add_fail2ban_config --logpath="$log_file" --failregex="^.*Error: Failed login attempt from .*$" --max_retry=5 -#Not required in 2023.1 anymore +#Not required in 2024.2 anymore #ynh_print_info --message="If you wish for Fail2ban to work, set up your local address in Setup/Settings/System/Local Networks as per documentation" -#================================================= -# SETUP SSOWAT -#================================================= -ynh_script_progression --message="Configuring permissions..." -<<<<<<< HEAD -======= -# 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 - -#remove the authentication header preventing login from 2023.2 and 11.2.3 onward -ynh_permission_url --permission="main" --auth_header=false - -#API & MQTT should stay publicly accessible. -ynh_permission_create --permission="domoticz_API" --label="api" --url="$domain$api_path" --allowed="visitors" --show_tile="false" --protected="true" -[[ ! -z "$mqtt_domain" ]] && ynh_permission_create --permission="domoticz_MQTT" --label="MQTT" --url="$mqtt_domain" --allowed="visitors" --show_tile="false" --protected="true" - - -#================================================= -# RELOAD NGINX -#================================================= -ynh_script_progression --message="Reloading NGINX web server..." - -ynh_systemd_action --service_name=nginx --action=reload - ->>>>>>> refs/heads/testing #================================================= # END OF SCRIPT #=================================================