guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/15: services: tor: Log to stderr rather than syslog.


From: guix-commits
Subject: 02/15: services: tor: Log to stderr rather than syslog.
Date: Sun, 2 Jun 2024 14:56:48 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 49e9c9ec3e88e22c9cf8a95edcd510a76ab41529
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon May 20 22:28:34 2024 +0200

    services: tor: Log to stderr rather than syslog.
    
    * gnu/services/networking.scm (tor-configuration->torrc): Change ‘Log’
    directive to ‘stderr’.
    (tor-shepherd-service): Remove /dev/log file system mapping.
    
    Change-Id: I2e33ad8033f884ce59d929a4181172325331efe0
---
 gnu/services/networking.scm | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index 8e64e529ab..378e117a86 100644
--- a/gnu/services/networking.scm
+++ b/gnu/services/networking.scm
@@ -1001,7 +1001,7 @@ maps ports 22 and 80 of the Onion Service to the local 
ports 22 and 8080."))
                (display "\
 ### These lines were generated from your system configuration:
 DataDirectory /var/lib/tor
-Log notice syslog\n" port)
+Log notice stderr\n" port)
                (when (eq? 'unix '#$socks-socket-type)
                  (display "\
 SocksPort unix:/var/run/tor/socks-sock
@@ -1046,9 +1046,6 @@ HiddenServicePort ~a ~a~%"
                                    (source "/var/lib/tor")
                                    (target source)
                                    (writable? #t))
-                                  (file-system-mapping
-                                   (source "/dev/log") ;for syslog
-                                   (target source))
                                   (file-system-mapping
                                    (source "/var/run/tor")
                                    (target source)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]