9 lines
288 B
SYSTEMD
9 lines
288 B
SYSTEMD
|
[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'
|