From af2040f4c46547fa4bfd2e03d0f964c4b656de07 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Mon, 1 Feb 2021 22:53:05 +0100 Subject: [PATCH] netns-isolation: use 'true' for systemd option --- modules/netns-isolation.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/netns-isolation.nix b/modules/netns-isolation.nix index e4f02f1..d0088dc 100644 --- a/modules/netns-isolation.nix +++ b/modules/netns-isolation.nix @@ -119,7 +119,7 @@ in { after = [ "network-pre.target" ]; serviceConfig = { Type = "oneshot"; - RemainAfterExit = "yes"; + RemainAfterExit = true; }; script = '' ${ip} link add name nb-br type bridge @@ -182,7 +182,7 @@ in { ''; serviceConfig = { Type = "oneshot"; - RemainAfterExit = "yes"; + RemainAfterExit = true; }; }; };