diff --git a/services/fail2ban.nix b/services/fail2ban.nix index 435b2135..b0e516a8 100644 --- a/services/fail2ban.nix +++ b/services/fail2ban.nix @@ -16,7 +16,6 @@ # The SystemD Unit file configuration systemd.services.fail2ban = { - user = "telegraf"; - postStart = "chmod o+r /var/run/fail2ban/fail2ban.socket"; + postStart = "sleep 2 && chmod o+r /var/run/fail2ban/fail2ban.socket"; }; } \ No newline at end of file