Archived
1
0
Fork 0

services: knot: Add 'configuration' action.

* gnu/services/dns.scm (knot-shepherd-service): Add 'actions' field.
This commit is contained in:
Ludovic Courtès 2023-04-18 21:35:16 +02:00
parent 70677d8822
commit 1fa038324d
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

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