nixos/nebula: wait for start notification to prevent startup race

This commit is contained in:
Morgan Jones 2023-12-12 18:57:50 -08:00
parent 987845b73e
commit 5fd6ebdbef
No known key found for this signature in database
GPG key ID: 52BAC54ED447974E

View file

@ -196,7 +196,7 @@ in
before = [ "sshd.service" ]; before = [ "sshd.service" ];
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
serviceConfig = { serviceConfig = {
Type = "simple"; Type = "notify";
Restart = "always"; Restart = "always";
ExecStart = "${netCfg.package}/bin/nebula -config ${configFile}"; ExecStart = "${netCfg.package}/bin/nebula -config ${configFile}";
UMask = "0027"; UMask = "0027";