From fb48598c1eee17ccc8f5825a3f2affd6998254fa Mon Sep 17 00:00:00 2001 From: Patrick Date: Sat, 20 Jul 2024 19:44:14 +0200 Subject: [PATCH] fix: restart netbird --- config/services/netbird.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config/services/netbird.nix b/config/services/netbird.nix index d2a6d4b..9433592 100644 --- a/config/services/netbird.nix +++ b/config/services/netbird.nix @@ -10,7 +10,7 @@ age.secrets.coturnPassword = { generator.script = "alnum"; - group = "netbird"; + owner = "turnserver"; }; age.secrets.coturnSecret = { @@ -65,6 +65,10 @@ }; }; }; + systemd.services.netbird-management.serviceConfig = { + Restart = "always"; + RestartSec = 60; + }; environment.persistence."/persist".directories = [ { directory = "/var/lib/netbird-mgmt";