Message ID | 89820a76bacd52ff2435780355da90cf6da07c71.1603822404.git.simon@simonsouth.net |
---|---|
State | Accepted |
Headers | show |
Series | knot-resolver: Silence warning re: deprecated option | expand |
Context | Check | Description |
---|---|---|
cbaines/issue | success | View issue |
cbaines/comparison | success | View comparision |
cbaines/git branch | success | View Git branch |
cbaines/applying patch | success | View Laminar job |
On Tue, Oct 27, 2020 at 02:23:19PM -0400, Simon South wrote: > This silences a warning from the service at startup. > > * gnu/services/dns.scm (knot-resolver-shepherd-services)[start]: Use the "-n" > command-line option to kresd in place of the deprecated "-f 1". Thanks! Pushed as 5ede2595260d74e2990a8f004298ecf23ea66206
diff --git a/gnu/services/dns.scm b/gnu/services/dns.scm index 572880561c..b339eb0619 100644 --- a/gnu/services/dns.scm +++ b/gnu/services/dns.scm @@ -700,7 +700,7 @@ cache.size = 100 * MB (documentation "Run the Knot Resolver daemon.") (start #~(make-forkexec-constructor '(#$(file-append package "/sbin/kresd") - "-c" #$kresd-config-file "-f" "1" + "-c" #$kresd-config-file "-n" "/var/cache/knot-resolver"))) (stop #~(make-kill-destructor))) (shepherd-service