summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rwxr-xr-xfiles/debian-initd2
-rwxr-xr-xfiles/gentoo-initd2
2 files changed, 2 insertions, 2 deletions
diff --git a/files/debian-initd b/files/debian-initd
index 0d2bed9a..d6660215 100755
--- a/files/debian-initd
+++ b/files/debian-initd
@@ -22,7 +22,7 @@
# rename this file: (sudo) mv /etc/init.d/fail2ban.init /etc/init.d/fail2ban
# same with the logrotate file: (sudo) mv /etc/logrotate.d/fail2ban.logrotate /etc/logrotate.d/fail2ban
#
-PATH=/usr/sbin:/usr/bin:/sbin:/bin
+PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin
DESC="authentication failure monitor"
NAME=fail2ban
diff --git a/files/gentoo-initd b/files/gentoo-initd
index c5b5b702..c4d8675c 100755
--- a/files/gentoo-initd
+++ b/files/gentoo-initd
@@ -41,7 +41,7 @@ start() {
stop() {
ebegin "Stopping fail2ban"
- start-stop-daemon --stop --pidfile /var/run/fail2ban/fail2ban.pid \
+ start-stop-daemon --stop --pidfile /var/run/fail2ban/fail2ban.pid --retry 30 \
-- ${FAIL2BAN} stop
eend $? "Failed to stop fail2ban"
}