From 63854bcbb16e6b52edf966db428c4a1f049c3af5 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 5 Nov 2014 10:13:43 +0100 Subject: services: Add NTP service. * gnu/services/networking.scm (ntp-service): New procedure. * doc/guix.texi (Networking Services): Document it. --- doc/guix.texi | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'doc/guix.texi') diff --git a/doc/guix.texi b/doc/guix.texi index fbf5bac9b4..4a596bcbf3 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -3845,6 +3845,17 @@ Return a service that starts @var{interface} with address @var{ip}. If gateway. @end deffn +@deffn {Monadic Procedure} ntp-service [#:ntp @var{ntp}] @ + [#:name-service @var{%ntp-servers}] +Return a service that runs the daemon from @var{ntp}, the +@uref{http://www.ntp.org, Network Time Protocol package}. The daemon will +keep the system clock synchronized with that of @var{servers}. +@end deffn + +@defvr {Scheme Variable} %ntp-servers +List of host names used as the default NTP servers. +@end defvr + @deffn {Monadic Procedure} tor-service [#:tor tor] Return a service to run the @uref{https://torproject.org,Tor} daemon. -- cgit v1.2.3