From 2b12bab50d876f3aa538be1ac1ebd97a5af28113 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Sun, 28 Apr 2019 12:08:43 +0200 Subject: [PATCH] Use long getopts arguments --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 6e5ac81..44bc1c8 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" -ynh_systemd_action -a reload -n fail2ban # Reload instead of restart for better performance +ynh_systemd_action --action=reload --service_name=fail2ban # Reload instead of restart for better performance #================================================= # RESTORE PHP-FPM CONFIGURATION