aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/networking.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-03-27 09:43:43 +0200
committerLudovic Courtès <ludo@gnu.org>2023-03-27 18:48:51 +0200
commit3b9738aeac3dc0d1d2d119abd6370f569da5a1a6 (patch)
treec0c2e1f7c238bcfe987c2ee2bb1b820d0be0529c /gnu/services/networking.scm
parent82607c442bb1e88c70f899af07f1bb66b86e83c8 (diff)
downloadguix-3b9738aeac3dc0d1d2d119abd6370f569da5a1a6.tar
guix-3b9738aeac3dc0d1d2d119abd6370f569da5a1a6.tar.gz
services: ntpd: Add 'configuration' action.
* gnu/services/networking.scm (ntp-shepherd-service): Add 'actions' field.
Diffstat (limited to 'gnu/services/networking.scm')
-rw-r--r--gnu/services/networking.scm1
1 files changed, 1 insertions, 0 deletions
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"