2
0
mirror of https://github.com/dadevel/wg-netns synced 2024-10-30 21:20:12 +00:00
wg-netns/extras/wg-resolve/wg-resolve@.service
2022-03-20 22:15:28 +01:00

11 lines
295 B
Desktop File

[Unit]
Description=WireGuard Endpoint Resolver (%i)
Wants=network-online.target nss-lookup.target
After=network-online.target nss-lookup.target
[Service]
Type=oneshot
EnvironmentFile=%E/wireguard/%i.env
Environment=WG_ENDPOINT_RESOLUTION_RETRIES=infinity
ExecStart=/usr/local/lib/wg-resolve.sh