Merge pull request #20825 from lbonn/wireguard-systemd-start
wireguard: remove dependency on ip-up.target
This commit is contained in:
commit
3457703834
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user