Skip to content

Commit

Permalink
nixos/nebula: wait for start notification to prevent startup race
Browse files Browse the repository at this point in the history
  • Loading branch information
numinit committed Dec 13, 2023
1 parent 987845b commit 32d82d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nixos/modules/services/networking/nebula.nix
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ in
before = [ "sshd.service" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
Type = "simple";
Type = "notify";
NotifyAccess = "main";
Restart = "always";
ExecStart = "${netCfg.package}/bin/nebula -config ${configFile}";
UMask = "0027";
Expand Down

0 comments on commit 32d82d5

Please sign in to comment.