Remove dependency on DNS blocklist for DNS server

This commit is contained in:
2023-07-27 01:24:04 +02:00
parent 134be027e2
commit 6c210d09df

View File

@@ -14,7 +14,7 @@ in {
}; };
# Fetch hosts-blocklists daily # Fetch hosts-blocklists daily
# FIXME Download the list if the file doesn't exist the first time # TODO Download the list if the file doesn't exist the first time
systemd.services.download-dns-blocklist = { systemd.services.download-dns-blocklist = {
description = "Download hosts-blocklists"; description = "Download hosts-blocklists";
wantedBy = [ "default.target" ]; wantedBy = [ "default.target" ];
@@ -27,7 +27,6 @@ in {
postStop = '' postStop = ''
chown -R dnsmasq ${stateDir} chown -R dnsmasq ${stateDir}
''; '';
requiredBy = [ "dnsmasq.service" ];
startAt = "02:00:00"; startAt = "02:00:00";
}; };