From: Jakub Czajka Date: Sun, 30 Mar 2025 09:59:18 +0000 (+0200) Subject: [dns] Add schedule for sleep time. X-Git-Url: https://git.ekhem.eu.org/?a=commitdiff_plain;h=HEAD;p=server.git [dns] Add schedule for sleep time. --- diff --git a/dnscrypt-proxy/dnscrypt-proxy.toml b/dnscrypt-proxy/dnscrypt-proxy.toml index cb000cc..4cbe846 100644 --- a/dnscrypt-proxy/dnscrypt-proxy.toml +++ b/dnscrypt-proxy/dnscrypt-proxy.toml @@ -669,14 +669,16 @@ format = 'tsv' [schedules] - # [schedules.time-to-sleep] - # mon = [{after='21:00', before='7:00'}] - # tue = [{after='21:00', before='7:00'}] - # wed = [{after='21:00', before='7:00'}] - # thu = [{after='21:00', before='7:00'}] - # fri = [{after='23:00', before='7:00'}] - # sat = [{after='23:00', before='7:00'}] - # sun = [{after='21:00', before='7:00'}] + +## The server operates in the UTC time. + [schedules.time-to-sleep] + mon = [{after='21:00', before='5:00'}] + tue = [{after='21:00', before='5:00'}] + wed = [{after='21:00', before='5:00'}] + thu = [{after='21:00', before='5:00'}] + fri = [{after='21:00', before='5:00'}] + sat = [{after='21:00', before='5:00'}] + sun = [{after='21:00', before='5:00'}] # [schedules.work] # mon = [{after='9:00', before='18:00'}]