From 1be408367b45c1eca91044543113515416526b42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 9 Jun 2024 22:39:01 +0200 Subject: [PATCH] cleaning --- scripts/backup | 10 +--------- scripts/install | 5 ----- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/scripts/backup b/scripts/backup index 04eed75..87d844b 100644 --- a/scripts/backup +++ b/scripts/backup @@ -22,21 +22,13 @@ ynh_print_info --message="Declaring files to be backed up..." ynh_backup --src_path="$install_dir" #================================================= -# BACKUP THE NGINX CONFIGURATION +# SYSTEM CONFIGURATION #================================================= ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" -#================================================= -# BACKUP THE PHP-FPM CONFIGURATION -#================================================= - ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" -#================================================= -# BACKUP FAIL2BAN CONFIGURATION -#================================================= - ynh_backup --src_path="/etc/fail2ban/jail.d/$app.conf" ynh_backup --src_path="/etc/fail2ban/filter.d/$app.conf" diff --git a/scripts/install b/scripts/install index d9ba7fc..598a764 100644 --- a/scripts/install +++ b/scripts/install @@ -55,11 +55,6 @@ ynh_add_fpm_config ynh_add_nginx_config -#================================================= -# SETUP FAIL2BAN -#================================================= -ynh_script_progression --message="Configuring fail2ban..." --weight=1 - # Create the logfile, required before configuring fail2ban touch "/var/log/nginx/${domain}-error.log"