mirror of https://github.com/fail2ban/fail2ban
News about the 0.7 release and adjusted init script so it fails to start if not root
parent
8d3b4630f3
commit
a45fadd183
|
@ -1,3 +1,15 @@
|
|||
fail2ban (0.7.1-1) unstable; urgency=low
|
||||
|
||||
0.7.x versions of fail2ban is a complete rewrite of the tool since 0.6, and
|
||||
is went through restructuring of the configuration files. If you had
|
||||
adjusted config file /etc/fail2ban.conf or /etc/defaults/fail2ban, you need
|
||||
to adjust new config files (under /etc/fail2ban/ and /etc/default/fail2ban)
|
||||
to take advantage of the upgrade. Now fail2ban uses split configs and local
|
||||
modifications can be introduced in corresponding .local files. Please
|
||||
remove old configuration file /etc/fail2ban.conf thereafter.
|
||||
|
||||
-- Yaroslav Halchenko <debian@onerussian.com> Tue, 12 Sep 2006 10:31:15 -0400
|
||||
|
||||
fail2ban (0.6.0-4) unstable; urgency=low
|
||||
|
||||
In this version the new section ApacheAttacks was introduced to ban IPs
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
fail2ban (0.7.3-1) UNRELEASED; urgency=low
|
||||
fail2ban (0.7.3-1) experimental; urgency=low
|
||||
|
||||
* New upstream release
|
||||
|
||||
|
|
|
@ -56,10 +56,10 @@ do_start()
|
|||
# 0 if daemon has been started
|
||||
# 1 if daemon was already running
|
||||
# 2 if daemon could not be started
|
||||
start-stop-daemon --start --quiet --exec $DAEMON --test -- \
|
||||
start-stop-daemon --start --quiet --user root --exec $DAEMON --test -- \
|
||||
$DAEMON_ARGS start > /dev/null \
|
||||
|| return 1
|
||||
start-stop-daemon --start --quiet --exec $DAEMON -- \
|
||||
start-stop-daemon --start --quiet --chuid root --exec $DAEMON -- \
|
||||
$DAEMON_ARGS start > /dev/null\
|
||||
|| return 2
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue