This commit is contained in:
soraefir
2026-05-06 01:07:48 +02:00
parent fd7797c6e7
commit 626a88c8c8
2 changed files with 18 additions and 10 deletions

View File

@@ -34,5 +34,13 @@ in
};
};
};
systemd.services."wireguard-wg0" = {
after = [ "network-online.target" "nss-lookup.target" ];
wants = [ "network-online.target" "nss-lookup.target" ];
serviceConfig = {
Restart = "on-failure";
RestartSec = "5s";
};
};
};
}