浏览代码

Add the path to the service command.

FusionPBX 5 年之前
父节点
当前提交
2b4c3f6873
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      debian/resources/fail2ban.sh

+ 1 - 1
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