mirror of https://github.com/fail2ban/fail2ban
remove /var/lib/fail2ban/fail2ban.sqlite3 when purging
parent
e2b9cb01f5
commit
af088eefce
|
@ -26,6 +26,8 @@ case "$1" in
|
||||||
# Remove logs
|
# Remove logs
|
||||||
rm -f /var/log/fail2ban*
|
rm -f /var/log/fail2ban*
|
||||||
|
|
||||||
|
# Remove sqlite db
|
||||||
|
rm -f /var/lib/fail2ban/fail2ban.sqlite3
|
||||||
;;
|
;;
|
||||||
remove|upgrade|failed-upgrade|abort-install|abort-upgrade)
|
remove|upgrade|failed-upgrade|abort-install|abort-upgrade)
|
||||||
# nothing
|
# nothing
|
||||||
|
|
Loading…
Reference in New Issue