From 51fcf96a0a96f2180156c92e37c2f9b4ea1695be Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Sat, 14 Jan 2017 02:54:02 +0100 Subject: [PATCH] fail2ban: create pid directory before starting the service --- srcpkgs/fail2ban/files/fail2ban/run | 1 + srcpkgs/fail2ban/template | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/fail2ban/files/fail2ban/run b/srcpkgs/fail2ban/files/fail2ban/run index 03fa58c8c71..c8e9a5b60f6 100755 --- a/srcpkgs/fail2ban/files/fail2ban/run +++ b/srcpkgs/fail2ban/files/fail2ban/run @@ -1,3 +1,4 @@ #!/bin/sh +mkdir -p /var/run/fail2ban exec fail2ban-server -f diff --git a/srcpkgs/fail2ban/template b/srcpkgs/fail2ban/template index d42b828e428..2efe4c14532 100644 --- a/srcpkgs/fail2ban/template +++ b/srcpkgs/fail2ban/template @@ -1,7 +1,7 @@ # Template file for 'fail2ban' pkgname=fail2ban version=0.9.6 -revision=1 +revision=2 noarch=yes build_style=python2-module hostmakedepends="pkg-config python"