From 494fd8285d9b1539cf861353943d4ffa716a2e88 Mon Sep 17 00:00:00 2001 From: Chris Dombroski Date: Mon, 6 May 2024 19:13:12 -0400 Subject: [PATCH] ensure ad list is built on startup --- systems/orangepihole/configuration.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/systems/orangepihole/configuration.nix b/systems/orangepihole/configuration.nix index db64787..14d2c75 100644 --- a/systems/orangepihole/configuration.nix +++ b/systems/orangepihole/configuration.nix @@ -63,6 +63,8 @@ awk '!seen[$0]++' /etc/unbound/new.conf > /etc/unbound/ads.conf rm /etc/unbound/new.conf ''; + wantedBy = [ "multi-user.target" ]; + before = [ "unbound.service" ]; }; };