services: tor: Log to file.

* gnu/services/networking.scm (tor-shepherd-service)[start]: Specify log
file.
This commit is contained in:
Brice Waegeneire 2021-07-03 17:35:50 +02:00
parent 1beeef6261
commit 8bb45504dd
No known key found for this signature in database
GPG key ID: A94903A166A18FAE

View file

@ -960,6 +960,7 @@ (define (tor-shepherd-service config)
(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)