mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-08-04 14:48:08 +00:00
- Fixed RedHat init script. Thanks to Justin Shore
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@476 a942ae1a-1317-0410-a47c-b1dcaea8d605
This commit is contained in:
parent
c27ef35b90
commit
159ecbc567
1 changed files with 2 additions and 2 deletions
|
|
@ -27,7 +27,7 @@ getpid() {
|
|||
start() {
|
||||
echo -n $"Starting fail2ban: "
|
||||
getpid
|
||||
if [ -z "$pid"]; then
|
||||
if [ -z "$pid" ]; then
|
||||
$FAIL2BAN start > /dev/null
|
||||
RETVAL=$?
|
||||
fi
|
||||
|
|
@ -77,8 +77,8 @@ case "$1" in
|
|||
fi
|
||||
;;
|
||||
restart)
|
||||
stop
|
||||
start
|
||||
stop
|
||||
;;
|
||||
*)
|
||||
echo $"Usage: $0 {start|stop|status|restart}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue