fix: restart netbird

This commit is contained in:
Patrick 2024-07-20 19:44:14 +02:00
parent 38be932f9b
commit fb48598c1e
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F

View file

@ -10,7 +10,7 @@
age.secrets.coturnPassword = { age.secrets.coturnPassword = {
generator.script = "alnum"; generator.script = "alnum";
group = "netbird"; owner = "turnserver";
}; };
age.secrets.coturnSecret = { age.secrets.coturnSecret = {
@ -65,6 +65,10 @@
}; };
}; };
}; };
systemd.services.netbird-management.serviceConfig = {
Restart = "always";
RestartSec = 60;
};
environment.persistence."/persist".directories = [ environment.persistence."/persist".directories = [
{ {
directory = "/var/lib/netbird-mgmt"; directory = "/var/lib/netbird-mgmt";