mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
services: ntpd: Add 'configuration' action.
* gnu/services/networking.scm (ntp-shepherd-service): Add 'actions' field.
This commit is contained in:
parent
82607c442b
commit
3b9738aeac
1 changed files with 1 additions and 0 deletions
|
@ -536,6 +536,7 @@ (define ntpd.conf
|
||||||
(provision '(ntpd))
|
(provision '(ntpd))
|
||||||
(documentation "Run the Network Time Protocol (NTP) daemon.")
|
(documentation "Run the Network Time Protocol (NTP) daemon.")
|
||||||
(requirement '(user-processes networking))
|
(requirement '(user-processes networking))
|
||||||
|
(actions (list (shepherd-configuration-action ntpd.conf)))
|
||||||
(start #~(make-forkexec-constructor
|
(start #~(make-forkexec-constructor
|
||||||
(list (string-append #$ntp "/bin/ntpd") "-n"
|
(list (string-append #$ntp "/bin/ntpd") "-n"
|
||||||
"-c" #$ntpd.conf "-u" "ntpd"
|
"-c" #$ntpd.conf "-u" "ntpd"
|
||||||
|
|
Loading…
Reference in a new issue