Merge pull request #20825 from lbonn/wireguard-systemd-start

wireguard: remove dependency on ip-up.target
This commit is contained in:
Joachim F 2016-12-01 15:15:56 +01:00 committed by GitHub
commit 3457703834

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;