services: knot-resolver: Replace deprecated command-line option.

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".

Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
Simon South 2020-10-27 14:23:19 -04:00 committed by Leo Famulari
parent 6bfbdc949c
commit 5ede259526
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -700,7 +700,7 @@ (define knot-resolver-shepherd-services
(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