From 32d82d52c6f0e97efad6034a22a8fc5321789283 Mon Sep 17 00:00:00 2001 From: Morgan Jones Date: Tue, 12 Dec 2023 18:57:50 -0800 Subject: [PATCH] nixos/nebula: wait for start notification to prevent startup race --- nixos/modules/services/networking/nebula.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/nebula.nix b/nixos/modules/services/networking/nebula.nix index b9ebbfbd9a29791..28b9b2817a48776 100644 --- a/nixos/modules/services/networking/nebula.nix +++ b/nixos/modules/services/networking/nebula.nix @@ -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";