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
# 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 = {
description = "Download hosts-blocklists";
wantedBy = [ "default.target" ];
@@ -27,7 +27,6 @@ in {
postStop = ''
chown -R dnsmasq ${stateDir}
'';
requiredBy = [ "dnsmasq.service" ];
startAt = "02:00:00";
};