From 7527ca13defc31b6dab4ea4efbb611b3cc8c1416 Mon Sep 17 00:00:00 2001 From: Lu Wang Date: Fri, 13 Dec 2024 21:50:04 +0800 Subject: [PATCH] services/enthalpy: fixup racing conditon --- nixos/modules/services/enthalpy/srv6.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/enthalpy/srv6.nix b/nixos/modules/services/enthalpy/srv6.nix index 179e037..25a0c2c 100644 --- a/nixos/modules/services/enthalpy/srv6.nix +++ b/nixos/modules/services/enthalpy/srv6.nix @@ -79,7 +79,10 @@ in Type = "oneshot"; RemainAfterExit = true; }; - after = [ "netns-enthalpy.service" ]; + after = [ + "netns-enthalpy.service" + "enthalpy-exit.service" + ]; partOf = [ "netns-enthalpy.service" "enthalpy-exit.service"