diff --git a/services/fail2ban.nix b/services/fail2ban.nix index e7a12e14..4b519acf 100644 --- a/services/fail2ban.nix +++ b/services/fail2ban.nix @@ -16,6 +16,6 @@ # The SystemD Unit file configuration systemd.services.fail2ban = { - postStart = "chmod o+r /var/run/fail2ban/fail2ban.socket"; + postStart = "chmod o+r /var/run/fail2ban/fail2ban.socket > /tmp/fail2ban-post-start.logt"; }; } \ No newline at end of file