mirror of https://github.com/fail2ban/fail2ban
uff... pid file is now removed by fail2ban itself... so for it to don't choke - I removed rm -f from init script
parent
46d43bb128
commit
1ae50b123d
|
@ -37,7 +37,7 @@ case "$1" in
|
||||||
stop)
|
stop)
|
||||||
echo -n "Stopping $DESC: "
|
echo -n "Stopping $DESC: "
|
||||||
start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid
|
start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid
|
||||||
rm -f $PIDFILE
|
# rm -f $PIDFILE # now is removed by fail2ban itself
|
||||||
echo "$NAME."
|
echo "$NAME."
|
||||||
;;
|
;;
|
||||||
restart|force-reload)
|
restart|force-reload)
|
||||||
|
|
Loading…
Reference in New Issue