4 changed files with 50 additions and 1 deletions
@ -0,0 +1,8 @@
|
||||
[Unit] |
||||
Description=Reresolve DNS of all WireGuard endpoints |
||||
Wants=network-online.target |
||||
After=network-online.target |
||||
|
||||
[Service] |
||||
Type=oneshot |
||||
ExecStart=/bin/sh -c 'for i in /etc/wireguard/*.conf; do /usr/share/doc/wireguard-tools/examples/reresolve-dns/reresolve-dns.sh "$i"; done' |
Loading…
Reference in new issue