From 1bcf87c5f6907ca81b89ff78494191a06d126c82 Mon Sep 17 00:00:00 2001 From: denis Date: Fri, 15 Nov 2024 17:49:34 -0500 Subject: [PATCH] Update scripts/install --- scripts/install | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/scripts/install b/scripts/install index 7ebb1b9..c4dd10f 100755 --- a/scripts/install +++ b/scripts/install @@ -151,17 +151,7 @@ yunohost service add "$app" --description="A modern and self-hosted take on file # Use logrotate to manage application logfile(s) ynh_config_add_logrotate -# Create a dedicated Fail2Ban config -#ynh_config_add_fail2ban --logpath="/var/log/nginx/${domain}-error.log" --failregex="Regex to match into the log for a failed login" - -#================================================= -# SETUP APPLICATION WITH CURL -#================================================= - -### Use these lines only if the app installation needs to be finalized through -### web forms. We generally don't want to ask the final user, -### so we're going to use curl to automatically fill the fields and submit the -### forms. +ynh_script_progression "Installing $app..." pushd $install_dir ynh_hide_warnings ynh_exec_as_app yarn install @@ -170,10 +160,6 @@ pushd $install_dir ynh_hide_warnings ynh_exec_as_app yarn build popd -# Installation with curl -ynh_script_progression "Finalizing installation..." -#ynh_local_curl "/INSTALL_PATH" "key1=value1" "key2=value2" "key3=value3" - #================================================= # START SYSTEMD SERVICE #=================================================