ensure ad list is built on startup

This commit is contained in:
Chris Dombroski 2024-05-06 19:13:12 -04:00
parent ac3767b1ec
commit 494fd8285d

View file

@ -63,6 +63,8 @@
awk '!seen[$0]++' /etc/unbound/new.conf > /etc/unbound/ads.conf awk '!seen[$0]++' /etc/unbound/new.conf > /etc/unbound/ads.conf
rm /etc/unbound/new.conf rm /etc/unbound/new.conf
''; '';
wantedBy = [ "multi-user.target" ];
before = [ "unbound.service" ];
}; };
}; };