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:
parent
6bfbdc949c
commit
5ede259526
@ -700,7 +700,7 @@ cache.size = 100 * MB
|
|||||||
(documentation "Run the Knot Resolver daemon.")
|
(documentation "Run the Knot Resolver daemon.")
|
||||||
(start #~(make-forkexec-constructor
|
(start #~(make-forkexec-constructor
|
||||||
'(#$(file-append package "/sbin/kresd")
|
'(#$(file-append package "/sbin/kresd")
|
||||||
"-c" #$kresd-config-file "-f" "1"
|
"-c" #$kresd-config-file "-n"
|
||||||
"/var/cache/knot-resolver")))
|
"/var/cache/knot-resolver")))
|
||||||
(stop #~(make-kill-destructor)))
|
(stop #~(make-kill-destructor)))
|
||||||
(shepherd-service
|
(shepherd-service
|
||||||
|
Loading…
Reference in New Issue
Block a user