diff --git a/scripts/restore b/scripts/restore index c682a43..6e5ac81 100644 --- a/scripts/restore +++ b/scripts/restore @@ -82,7 +82,7 @@ chown -R $app: $final_path ynh_restore_file "/etc/fail2ban/jail.d/$app.conf" ynh_restore_file "/etc/fail2ban/filter.d/$app.conf" -systemctl reload fail2ban # Reload instead of restart for better performance +ynh_systemd_action -a reload -n fail2ban # Reload instead of restart for better performance #================================================= # RESTORE PHP-FPM CONFIGURATION