From 2b4c3f687368b42c924e3e94c6fa612392611f66 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 15 Oct 2020 14:59:47 -0600 Subject: [PATCH] Add the path to the service command. --- debian/resources/fail2ban.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/resources/fail2ban.sh b/debian/resources/fail2ban.sh index aaffe52..e822578 100755 --- a/debian/resources/fail2ban.sh +++ b/debian/resources/fail2ban.sh @@ -33,4 +33,4 @@ cp fail2ban/jail.local /etc/fail2ban/jail.local #fi #restart fail2ban -service fail2ban restart +/usr/sbin/service fail2ban restart