From cbd245e277a18af423b92c2d1f3d6d6a14dd92a1 Mon Sep 17 00:00:00 2001 From: lapineige Date: Sun, 28 Apr 2019 11:37:05 +0200 Subject: [PATCH] Use ynh_systemd_action --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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