summary refs log tree commit diff
path: root/gnu/services/networking.scm
diff options
context:
space:
mode:
authorBrice Waegeneire <brice@waegenei.re>2021-07-03 17:35:50 +0200
committerBrice Waegeneire <brice@waegenei.re>2021-07-13 07:24:56 +0200
commit8bb45504dd9eb441d447e3f1dca174f0231c67d8 (patch)
tree37cd426747d50cfb0ae52ad1fa02dd5ce83379ca /gnu/services/networking.scm
parent1beeef62614dc61876558bcd70af11e2bd6854d6 (diff)
downloadguix-8bb45504dd9eb441d447e3f1dca174f0231c67d8.tar.gz
services: tor: Log to file.
* gnu/services/networking.scm (tor-shepherd-service)[start]: Specify log
file.
Diffstat (limited to 'gnu/services/networking.scm')
-rw-r--r--gnu/services/networking.scm1
1 files changed, 1 insertions, 0 deletions
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)