guix-commits
[Top][All Lists]
Advanced

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

02/04: services: tor: Log to file.


From: guix-commits
Subject: 02/04: services: tor: Log to file.
Date: Tue, 13 Jul 2021 01:25:37 -0400 (EDT)

bricewge pushed a commit to branch master
in repository guix.

commit 8bb45504dd9eb441d447e3f1dca174f0231c67d8
Author: Brice Waegeneire <brice@waegenei.re>
AuthorDate: Sat Jul 3 17:35:50 2021 +0200

    services: tor: Log to file.
    
    * gnu/services/networking.scm (tor-shepherd-service)[start]: Specify log
    file.
---
 gnu/services/networking.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index 1ae5804..0be4a21 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)



reply via email to

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