From 0e1adcb8ba4d265385901fb1edb704c71740878d Mon Sep 17 00:00:00 2001 From: iFargle Date: Thu, 6 Jul 2023 12:29:36 +0900 Subject: [PATCH] test --- services/fail2ban.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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