summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-10-31 11:17:08 +0100
committerLudovic Courtès <ludo@gnu.org>2015-10-31 15:11:48 +0100
commit375c610844c7776470edb88eafb18c48c6c90187 (patch)
treebe5044bec787853117e5efaaa646d603f9d82b66 /doc
parentc9c282cea04ec5a3ee7bd17e6ad8846600220feb (diff)
services: 'tor-service' takes a 'config-file' parameter.
* gnu/services/networking.scm (tor-dmd-service): Take a 'config' parameter and honor it. (tor-service): Take a 'config-file' parameter. Pass it in the service's value. * doc/guix.texi (Networking Services): Adjust accordingly.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 84f194b14bc..483d6e2608d 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -6393,11 +6393,13 @@ keep the system clock synchronized with that of @var{servers}.
6393List of host names used as the default NTP servers. 6393List of host names used as the default NTP servers.
6394@end defvr 6394@end defvr
6395 6395
6396@deffn {Scheme Procedure} tor-service [#:tor tor] 6396@deffn {Scheme Procedure} tor-service [@var{config-file}] [#:tor @var{tor}]
6397Return a service to run the @uref{https://torproject.org,Tor} daemon. 6397Return a service to run the @uref{https://torproject.org, Tor} anonymous
6398networking daemon.
6398 6399
6399The daemon runs with the default settings (in particular the default exit 6400The daemon runs as the @code{tor} unprivileged user. It is passed
6400policy) as the @code{tor} unprivileged user. 6401@var{config-file}, a file-like object, with an additional @code{User tor}
6402line. Run @command{man tor} for information about the configuration file.
6401@end deffn 6403@end deffn
6402 6404
6403@deffn {Scheme Procedure} bitlbee-service [#:bitlbee bitlbee] @ 6405@deffn {Scheme Procedure} bitlbee-service [#:bitlbee bitlbee] @