Start wg.service on boot

This commit is contained in:
Maroka-chan
2024-02-25 21:56:27 +01:00
parent 7beb46ba77
commit dbf9518488
+1 -1
View File
@@ -208,7 +208,7 @@ in {
bindsTo = ["netns@wg.service"];
requires = ["network-online.target"];
after = ["netns@wg.service"];
wantedBy = ["netns@wg.service"];
wantedBy = ["multi-user.target"];
serviceConfig = let
lines = split "\n" (readFile cfg.wireguardConfigFile);