aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2024-05-20 22:28:34 +0200
committerLudovic Courtès <ludo@gnu.org>2024-06-02 20:52:24 +0200
commit49e9c9ec3e88e22c9cf8a95edcd510a76ab41529 (patch)
tree8e4dd86f0a53dab80a0e80f5fd52b353da383281 /gnu
parent8f0878da8d139b5890206f3d2b867bee36015dd8 (diff)
downloadguix-49e9c9ec3e88e22c9cf8a95edcd510a76ab41529.tar
guix-49e9c9ec3e88e22c9cf8a95edcd510a76ab41529.tar.gz
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/networking.scm5
1 files changed, 1 insertions, 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
@@ -1047,9 +1047,6 @@ HiddenServicePort ~a ~a~%"
(target source)
(writable? #t))
(file-system-mapping
- (source "/dev/log") ;for syslog
- (target source))
- (file-system-mapping
(source "/var/run/tor")
(target source)
(writable? #t))