wireguard: remove dependency on ip-up.target

It was deprecated and removed from all modules in the tree by #18319.

The wireguard module PR (#17933) was still in the review at the time and
the deprecated usage managed to slip inside.
This commit is contained in:
lbonn 2016-11-30 23:54:14 +01:00
parent fa4212e763
commit 288e75c5f9

View File

@ -151,7 +151,8 @@ let
nameValuePair "wireguard-${name}" nameValuePair "wireguard-${name}"
{ {
description = "WireGuard Tunnel - ${name}"; description = "WireGuard Tunnel - ${name}";
wantedBy = [ "ip-up.target" ]; after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
RemainAfterExit = true; RemainAfterExit = true;