netns-isolation: use 'true' for systemd option

This commit is contained in:
Erik Arvstedt 2021-02-01 22:53:05 +01:00
parent c246bbb36e
commit af2040f4c4
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -119,7 +119,7 @@ in {
after = [ "network-pre.target" ]; after = [ "network-pre.target" ];
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
RemainAfterExit = "yes"; RemainAfterExit = true;
}; };
script = '' script = ''
${ip} link add name nb-br type bridge ${ip} link add name nb-br type bridge
@ -182,7 +182,7 @@ in {
''; '';
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
RemainAfterExit = "yes"; RemainAfterExit = true;
}; };
}; };
}; };