[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/06: services: tor: Write to syslog.
From: |
Ludovic Courtès |
Subject: |
04/06: services: tor: Write to syslog. |
Date: |
Fri, 27 Nov 2015 23:05:33 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit 5ee35eb747206a1d70bdeb979be88da47caa9f6f
Author: Ludovic Courtès <address@hidden>
Date: Fri Nov 27 23:08:00 2015 +0100
services: tor: Write to syslog.
* gnu/services/networking.scm (tor-configuration->torrc): Add "Log
notice syslog".
(tor-dmd-service): Add 'syslogd' to 'requirement'.
---
gnu/services/networking.scm | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index e5b7136..0c54512 100644
--- a/gnu/services/networking.scm
+++ b/gnu/services/networking.scm
@@ -350,7 +350,8 @@ keep the system clock synchronized with that of
@var{servers}."
(lambda (port)
(display "\
# The beginning was automatically added.
-User tor\n" port)
+User tor
+Log notice syslog\n" port)
(for-each (match-lambda
((service (ports hosts) ...)
@@ -384,7 +385,7 @@ HiddenServicePort ~a ~a~%"
;; Tor needs at least one network interface to be up, hence the
;; dependency on 'loopback'.
- (requirement '(user-processes loopback))
+ (requirement '(user-processes loopback syslogd))
(start #~(make-forkexec-constructor
(list (string-append #$tor "/bin/tor") "-f" #$torrc)))
- branch master updated (ef8742e -> ae4427e), Ludovic Courtès, 2015/11/27
- 02/06: services: lsh: Correctly handle #:interfaces option., Ludovic Courtès, 2015/11/27
- 06/06: substitute: Warn upon store prefix mismatches., Ludovic Courtès, 2015/11/27
- 01/06: gnu: tor: Update to 0.2.7.5., Ludovic Courtès, 2015/11/27
- 03/06: services: Add 'tor-hidden-service'., Ludovic Courtès, 2015/11/27
- 04/06: services: tor: Write to syslog.,
Ludovic Courtès <=
- 05/06: services: tor: Store private data under /var/lib/tor., Ludovic Courtès, 2015/11/27