1
0
Fork 0
This commit is contained in:
Daniel Kempkens 2023-04-15 00:34:25 +02:00
parent ead2eeb764
commit c088ea3858
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -6,7 +6,6 @@
systemd.services."netns@" = { systemd.services."netns@" = {
description = "%I network namespace"; description = "%I network namespace";
before = [ "network.target" ]; before = [ "network.target" ];
after = [ "run-agenix.d.mount" ];
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
RemainAfterExit = true; RemainAfterExit = true;
@ -19,7 +18,7 @@
description = "wg network interface"; description = "wg network interface";
bindsTo = [ "netns@wg.service" ]; bindsTo = [ "netns@wg.service" ];
requires = [ "network-online.target" ]; requires = [ "network-online.target" ];
after = [ "netns@wg.service" ]; after = [ "netns@wg.service" "run-agenix.d.mount" ];
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
RemainAfterExit = true; RemainAfterExit = true;