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 1/2] services: tor: Log to file.
Date: Sat,  3 Jul 2021 22:37:54 +0200	[thread overview]
Message-ID: <20210703203754.10399-1-brice@waegenei.re> (raw)
In-Reply-To: <20210703203525.9777-1-brice@waegenei.re>

* gnu/services/networking.scm (tor-shepherd-service)[start]: Specify log
file.
---
 gnu/services/networking.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index 1ae58041d3..0be4a21e7a 100644
--- a/gnu/services/networking.scm
+++ b/gnu/services/networking.scm
@@ -960,6 +960,7 @@ HiddenServicePort ~a ~a~%"
                 (start #~(make-forkexec-constructor/container
                           (list #$(file-append tor "/bin/tor") "-f" #$torrc)
 
+                          #:log-file "/var/log/tor.log"
                           #:mappings (list (file-system-mapping
                                             (source "/var/lib/tor")
                                             (target source)
-- 
2.31.1





  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 ` Brice Waegeneire [this message]
2021-07-03 20:37 ` [bug#49364] [PATCH 2/2] services: ntp: Log to file Brice Waegeneire
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=20210703203754.10399-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.