aboutsummaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-04-18 21:35:16 +0200
committerLudovic Courtès <ludo@gnu.org>2023-04-21 16:16:37 +0200
commit1fa038324db0c7f848b5640f81465366c2a587ba (patch)
tree3a24062687bb5bb7f530d4e9fa79258d98225aa7 /gnu/services
parent70677d882276ff44bc31d39e378749b976a9ca7d (diff)
downloadguix-1fa038324db0c7f848b5640f81465366c2a587ba.tar.gz
guix-1fa038324db0c7f848b5640f81465366c2a587ba.zip
services: knot: Add 'configuration' action.
* gnu/services/dns.scm (knot-shepherd-service): Add 'actions' field.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/dns.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/services/dns.scm b/gnu/services/dns.scm
index 2ff9f90cd0..f45fc99c69 100644
--- a/gnu/services/dns.scm
+++ b/gnu/services/dns.scm
@@ -622,6 +622,7 @@
(documentation "Run the Knot DNS daemon.")
(provision '(knot dns))
(requirement '(networking))
+ (actions (list (shepherd-configuration-action config-file)))
(start #~(make-forkexec-constructor
(list (string-append #$knot "/sbin/knotd")
"-c" #$config-file)))