mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
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
This commit is contained in:
parent
8f0878da8d
commit
49e9c9ec3e
1 changed files with 1 additions and 4 deletions
|
@ -1001,7 +1001,7 @@ (define (tor-configuration->torrc config)
|
|||
(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 @@ (define (tor-shepherd-service config)
|
|||
(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)
|
||||
|
|
Loading…
Reference in a new issue