Replace systemd time with startAt

master
coolneng 2021-04-29 16:47:47 +02:00
parent 8666cc0a1f
commit 1e49543907
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 1 additions and 5 deletions

View File

@ -25,14 +25,10 @@ in {
chown -R dnsmasq ${stateDir}
systemctl restart dnsmasq
'';
startAt = "02:00:00";
};
systemd.timers.download-dns-blocklist = {
description = "Daily download of hosts-blocklists";
wantedBy = [ "default.target" ];
timerConfig = {
OnCalendar = "02:00:00";
Unit = "download-dns-blocklist.service";
};
};
}