wg: pass WG_ENDPOINT_RESOLUTION_RETRIES=infinity to systemd unit

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2019-05-31 21:10:41 +02:00
parent 838039b879
commit 15f2e2ef34
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ Type=oneshot
RemainAfterExit=yes RemainAfterExit=yes
ExecStart=/usr/bin/wg-quick up %i ExecStart=/usr/bin/wg-quick up %i
ExecStop=/usr/bin/wg-quick down %i ExecStop=/usr/bin/wg-quick down %i
Environment=WG_ENDPOINT_RESOLUTION_RETRIES=infinity
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target