aboutsummaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorSimon South <simon@simonsouth.net>2020-10-27 14:23:19 -0400
committerLeo Famulari <leo@famulari.name>2020-10-27 18:42:39 -0400
commit5ede2595260d74e2990a8f004298ecf23ea66206 (patch)
tree36d6d2e022a24eb57e14235a0180bc627b472062 /gnu/services
parent6bfbdc949c6d463eb96db4555e30037ce4769ba6 (diff)
downloadguix-5ede2595260d74e2990a8f004298ecf23ea66206.tar.gz
guix-5ede2595260d74e2990a8f004298ecf23ea66206.zip
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>
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/dns.scm2
1 files changed, 1 insertions, 1 deletions
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