mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
Merge pull request #1648 from hlein/master
gentoo-initd: wait up to 30 seconds on "stop" to avoid errors.
This commit is contained in:
commit
5dcbcb99b9
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue