mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-23 21:17:11 -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))
|
||||
(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"
|
||||
|
|
Loading…
Reference in a new issue