all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Brice Waegeneire <brice@waegenei.re>
To: 49364@debbugs.gnu.org
Subject: [bug#49364] [PATCH 2/2] services: ntp: Log to file.
Date: Sat,  3 Jul 2021 22:37:58 +0200	[thread overview]
Message-ID: <20210703203758.10478-1-brice@waegenei.re> (raw)
In-Reply-To: <20210703203525.9777-1-brice@waegenei.re>

* gnu/services/networking.scm (ntp-shepherd-service)[start]: Specify log
file.
---
 gnu/services/networking.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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
-- 
2.31.1





  parent reply	other threads:[~2021-07-03 20:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-03 20:35 [bug#49364] [PATCH 0/2] Use log file for tor and ntp services Brice Waegeneire
2021-07-03 20:37 ` [bug#49364] [PATCH 1/2] services: tor: Log to file Brice Waegeneire
2021-07-03 20:37 ` Brice Waegeneire [this message]
2021-07-07 14:39 ` [bug#49364] [PATCH 0/2] Use log file for tor and ntp services Mathieu Othacehe
2021-07-13  5:35   ` bug#49364: " Brice Waegeneire

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210703203758.10478-1-brice@waegenei.re \
    --to=brice@waegenei.re \
    --cc=49364@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.