]> git.pld-linux.org Git - packages/fail2ban.git/commitdiff
rel 3; insist on starting in case like: Fail2ban seems to be in unexpected state... master auto/th/fail2ban-1.0.2-3
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 12 Dec 2023 09:10:20 +0000 (10:10 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 12 Dec 2023 09:10:20 +0000 (10:10 +0100)
fail2ban.init
fail2ban.spec

index 306da188cb4378df9e3f1cb515d5c952b40ee4f3..23d60b613dfc89db954c5cf0b298c96665c1961d 100644 (file)
@@ -35,6 +35,7 @@ fi
 start() {
        # Check if the service is already running?
        if [ ! -f /var/lock/subsys/fail2ban ]; then
+               rm -f /var/run/fail2ban/fail2ban.sock > /dev/null 2>&1
                msg_starting fail2ban
                daemon --pidfile /var/run/fail2ban/fail2ban.pid /usr/bin/fail2ban-client start
                RETVAL=$?
index 2958492907f0ff47055abcda06db57bbec24e96d..4ae6a8897696c79bd5dca65281d7685b81583566 100644 (file)
@@ -2,7 +2,7 @@ Summary:        Ban IPs that make too many password failures
 Summary(pl.UTF-8):     Blokowanie IP powodujących zbyt dużo prób logowań z błędnym hasłem
 Name:          fail2ban
 Version:       1.0.2
-Release:       2
+Release:       3
 License:       GPL
 Group:         Daemons
 Source0:       https://github.com/fail2ban/fail2ban/archive/%{version}.tar.gz
This page took 0.100899 seconds and 4 git commands to generate.