fix: restart netbird
This commit is contained in:
parent
38be932f9b
commit
fb48598c1e
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue