diff options
author | Soispha <soispha@vhack.eu> | 2023-07-08 13:53:11 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-07-08 13:53:11 +0200 |
commit | 7815ef2a22e3ae684852f1f28cedae6354263034 (patch) | |
tree | f6f9eff9edd93a734f3f7550e6c42e87ef4dadc0 /system/services/fail2ban | |
parent | Fix(host/server1): Use working path to disk (diff) | |
download | nixos-server-7815ef2a22e3ae684852f1f28cedae6354263034.tar.gz nixos-server-7815ef2a22e3ae684852f1f28cedae6354263034.zip |
Fix(treewide): Move all persistent dirs to impermanence to set permissions
Diffstat (limited to 'system/services/fail2ban')
-rw-r--r-- | system/services/fail2ban/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/services/fail2ban/default.nix b/system/services/fail2ban/default.nix index 5aee097..3e6244b 100644 --- a/system/services/fail2ban/default.nix +++ b/system/services/fail2ban/default.nix @@ -1,4 +1,3 @@ -# vim: ts=2 {...}: { services.fail2ban = { enable = true; @@ -8,7 +7,7 @@ logtarget = SYSLOG socket = /run/fail2ban/fail2ban.sock pidfile = /run/fail2ban/fail2ban.pid - dbfile = /srv/fail2ban/fail2ban.sqlite3 + dbfile = /var/lib/fail2ban/db.sqlite3 ''; bantime-increment = { enable = true; @@ -28,3 +27,4 @@ }; }; } + |