diff --git a/scripts/restore b/scripts/restore index 453c8c9..229decb 100644 --- a/scripts/restore +++ b/scripts/restore @@ -83,11 +83,12 @@ ynh_restore_file --origin_path="/etc/php/7.0/fpm/pool.d/$app.conf" #================================================= # RESTORE FAIL2BAN CONFIGURATION #================================================= -#ynh_script_progression --message="Restoring the fail2ban configuration..." --time --weight=1 +ynh_script_progression --message="Restoring the fail2ban configuration..." --time --weight=1 -#ynh_restore_file "/etc/fail2ban/jail.d/$app.conf" -#ynh_restore_file "/etc/fail2ban/filter.d/$app.conf" +ynh_restore_file "/etc/fail2ban/jail.d/$app.conf" +ynh_restore_file "/etc/fail2ban/filter.d/$app.conf" #ynh_systemd_action --action=restart --service_name=fail2ban +ynh_systemd_action --action=reload --service_name=fail2ban # Reload instead of restart for better performance #================================================= # SPECIFIC RESTORATION