guix-commits
[Top][All Lists]
Advanced

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

03/09: services: ntpd: Add 'configuration' action.


From: guix-commits
Subject: 03/09: services: ntpd: Add 'configuration' action.
Date: Mon, 27 Mar 2023 12:52:22 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 3b9738aeac3dc0d1d2d119abd6370f569da5a1a6
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Mar 27 09:43:43 2023 +0200

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

diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index 4d1d84788b..49f897d8cf 100644
--- a/gnu/services/networking.scm
+++ b/gnu/services/networking.scm
@@ -536,6 +536,7 @@ restrict source notrap nomodify noquery\n"))
              (provision '(ntpd))
              (documentation "Run the Network Time Protocol (NTP) daemon.")
              (requirement '(user-processes networking))
+             (actions (list (shepherd-configuration-action ntpd.conf)))
              (start #~(make-forkexec-constructor
                        (list (string-append #$ntp "/bin/ntpd") "-n"
                              "-c" #$ntpd.conf "-u" "ntpd"



reply via email to

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