guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/19: services: knot: Add 'configuration' action.


From: guix-commits
Subject: 06/19: services: knot: Add 'configuration' action.
Date: Fri, 21 Apr 2023 11:16:08 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 1fa038324db0c7f848b5640f81465366c2a587ba
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Apr 18 21:35:16 2023 +0200

    services: knot: Add 'configuration' action.
    
    * gnu/services/dns.scm (knot-shepherd-service): Add 'actions' field.
---
 gnu/services/dns.scm | 1 +
 1 file changed, 1 insertion(+)

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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]