services: openntpd: Add openntpd to the system profile.
authorEfraim Flashner <efraim@flashner.co.il>
Fri, 18 May 2018 15:25:07 +0000 (18:25 +0300)
committerEfraim Flashner <efraim@flashner.co.il>
Sun, 20 May 2018 18:42:33 +0000 (21:42 +0300)
* gnu/services/networking.scm (openntpd-service-type): Extend the
profile-service-type and add openntpd to the system profile.

gnu/services/networking.scm

index 6e71ccf..a24342f 100644 (file)
@@ -464,6 +464,8 @@ make an initial adjustment of more than 1,000 seconds."
                                           openntpd-shepherd-service)
                        (service-extension account-service-type
                                           (const %ntp-accounts))
+                       (service-extension profile-service-type
+                                          (compose list openntpd-configuration-openntpd))
                        (service-extension activation-service-type
                                           openntpd-service-activation)))
                 (default-value (openntpd-configuration))