diff options
Diffstat (limited to 'src/tools/systemd/wg-quick@.service')
-rw-r--r-- | src/tools/systemd/wg-quick@.service | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tools/systemd/wg-quick@.service b/src/tools/systemd/wg-quick@.service index da5d787..af52848 100644 --- a/src/tools/systemd/wg-quick@.service +++ b/src/tools/systemd/wg-quick@.service @@ -1,7 +1,7 @@ [Unit] Description=WireGuard via wg-quick(8) for %I -After=network-online.target -Wants=network-online.target +After=network-online.target nss-lookup.target +Wants=network-online.target nss-lookup.target Documentation=man:wg-quick(8) Documentation=man:wg(8) Documentation=https://www.wireguard.com/ @@ -14,6 +14,7 @@ Type=oneshot RemainAfterExit=yes ExecStart=/usr/bin/wg-quick up %i ExecStop=/usr/bin/wg-quick down %i +Environment=WG_ENDPOINT_RESOLUTION_RETRIES=infinity [Install] WantedBy=multi-user.target |