aboutsummaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorBrice Waegeneire <brice@waegenei.re>2021-07-03 17:37:17 +0200
committerBrice Waegeneire <brice@waegenei.re>2021-07-13 07:25:00 +0200
commita5fa05dfc7e5bbe0191938b7824ec264aa842306 (patch)
tree808074c29fb3ae7b849400d20e61ca973a9614fa /gnu/services
parent8bb45504dd9eb441d447e3f1dca174f0231c67d8 (diff)
downloadguix-a5fa05dfc7e5bbe0191938b7824ec264aa842306.tar
guix-a5fa05dfc7e5bbe0191938b7824ec264aa842306.tar.gz
services: ntp: Log to file.
* gnu/services/networking.scm (ntp-shepherd-service)[start]: Specify log file.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/networking.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index 0be4a21e7a..eeb1487116 100644
--- a/gnu/services/networking.scm
+++ b/gnu/services/networking.scm
@@ -492,7 +492,8 @@ restrict source notrap nomodify noquery\n"))
"-c" #$ntpd.conf "-u" "ntpd"
#$@(if allow-large-adjustment?
'("-g")
- '()))))
+ '()))
+ #:log-file "/var/log/ntpd.log"))
(stop #~(make-kill-destructor)))))))))
(define %ntp-accounts