aboutsummaryrefslogtreecommitdiffstats
path: root/main/fail2ban/gentoo-initd_create_run_dir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/fail2ban/gentoo-initd_create_run_dir.patch')
-rw-r--r--main/fail2ban/gentoo-initd_create_run_dir.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/main/fail2ban/gentoo-initd_create_run_dir.patch b/main/fail2ban/gentoo-initd_create_run_dir.patch
deleted file mode 100644
index 79a947956e..0000000000
--- a/main/fail2ban/gentoo-initd_create_run_dir.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Index: fail2ban-0.8.4/files/gentoo-initd
-===================================================================
---- fail2ban-0.8.4.orig/files/gentoo-initd
-+++ fail2ban-0.8.4/files/gentoo-initd
-@@ -31,6 +31,14 @@ depend() {
-
- start() {
- ebegin "Starting fail2ban"
-+ if [ ! -d /var/run/fail2ban ]; then
-+ mkdir /var/run/fail2ban || return 1
-+ fi
-+ if [ -e /var/run/fail2ban/fail2ban.sock ]; then
-+ # remove stalled sock file after system crash
-+ # bug 347477
-+ rm -rf /var/run/fail2ban/fail2ban.sock || return 1
-+ fi
- ${FAIL2BAN} start &> /dev/null
- eend $? "Failed to start fail2ban"
- }