mirror of https://github.com/fail2ban/fail2ban
- Send SIGTERM instead of SIGINT when using "-k"
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_6@492 a942ae1a-1317-0410-a47c-b1dcaea8d6050.6
parent
3ba3346dec
commit
ef0bf70ba3
|
@ -4,9 +4,13 @@
|
||||||
|_| \__,_|_|_/___|_.__/\__,_|_||_|
|
|_| \__,_|_|_/___|_.__/\__,_|_||_|
|
||||||
|
|
||||||
=============================================================
|
=============================================================
|
||||||
Fail2Ban (version 0.6.2) 2006/12/11
|
Fail2Ban (version 0.6.3) 200?/??/??
|
||||||
=============================================================
|
=============================================================
|
||||||
|
|
||||||
|
ver. 0.6.3 (200?/??/??) - stable
|
||||||
|
----------
|
||||||
|
- Send SIGTERM instead of SIGINT when using "-k"
|
||||||
|
|
||||||
ver. 0.6.2 (2006/12/11) - stable
|
ver. 0.6.2 (2006/12/11) - stable
|
||||||
----------
|
----------
|
||||||
- Fixed UTF-8 log file parsing
|
- Fixed UTF-8 log file parsing
|
||||||
|
|
|
@ -112,7 +112,7 @@ def killPID(pid):
|
||||||
INT signal (same effect as <ctrl>+<c>).
|
INT signal (same effect as <ctrl>+<c>).
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
return os.kill(pid, 2)
|
return os.kill(pid, signal.SIGTERM)
|
||||||
except OSError:
|
except OSError:
|
||||||
logSys.error("Can not kill process " + `pid` + ". Please check that " +
|
logSys.error("Can not kill process " + `pid` + ". Please check that " +
|
||||||
"Fail2Ban is not running and remove the file " +
|
"Fail2Ban is not running and remove the file " +
|
||||||
|
|
|
@ -24,4 +24,4 @@ __date__ = "$Date$"
|
||||||
__copyright__ = "Copyright (c) 2004 Cyril Jaquier"
|
__copyright__ = "Copyright (c) 2004 Cyril Jaquier"
|
||||||
__license__ = "GPL"
|
__license__ = "GPL"
|
||||||
|
|
||||||
version = "0.6.2"
|
version = "0.6.2-SVN"
|
||||||
|
|
Loading…
Reference in New Issue