From 3bcb305b98e02f6c9d98e7325813fc00f18f0e6c Mon Sep 17 00:00:00 2001 From: Chris Marusich Date: Tue, 31 Jul 2018 01:13:48 -0700 Subject: services: tor: Make it easier to use UNIX sockets. * doc/guix.texi (Networking Services): Document it, and mention that tor-service is deprecated. * gnu/services/networking.scm () : New field. (tor-configuration->torrc): When socks-socket-type is 'unix, set SocksPort to UNIX domain socket /var/run/tor/socks-sock and set UnixSocksGroupWritable to 1. * gnu/tests/networking.scm (%tor-os/unix-socks-socket): Instead of using a custom config file, just set socks-socket-type to 'unix. --- gnu/tests/networking.scm | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'gnu/tests/networking.scm') diff --git a/gnu/tests/networking.scm b/gnu/tests/networking.scm index 7ca71f0c2c..381c5caf14 100644 --- a/gnu/tests/networking.scm +++ b/gnu/tests/networking.scm @@ -354,13 +354,7 @@ (define %tor-os/unix-socks-socket (simple-operating-system (service tor-service-type (tor-configuration - (config-file - (plain-file "test-torrc" - "\ -SocksPort unix:/var/run/tor/socks-sock -UnixSocksGroupWritable 1 -") - ))))) + (socks-socket-type 'unix))))) (define (run-tor-test) (define os -- cgit v1.2.3 commit/etc/completion?id=467485a50a4a7261c245d36bc0778445ccc4d7f9'>commitdiff
AgeCommit message (Expand)Author
2021-12-08bash completion: Complete ‘guix shell -f’.Tobias Geerinckx-Rice
2021-10-31bash completion: Complete top-level options.Tobias Geerinckx-Rice
2021-10-31bash completion: Don't hard-code "guix" binary name.Tobias Geerinckx-Rice
2021-10-25Add 'guix shell'.Ludovic Courtès
2021-10-24etc: completion: Filter gratuitous spaces from available packages.Liliana Marie Prikler
2021-10-03bash completion: Fix ‘system’ & ‘container’ subcommands.Tobias Geerinckx-Rice
2021-10-03bash completion: Complete ‘guix size’ file names.Tobias Geerinckx-Rice
2021-10-03bash completion: Complete ‘guix build’ file names.Tobias Geerinckx-Rice
2021-10-03bash completion: Complete ‘guix weather’ packages.Tobias Geerinckx-Rice
2021-10-03bash completion: Append to $COMPREPLY where possible.Tobias Geerinckx-Rice
2021-10-03bash completion: Consolidate similar $command ‘if’ branches.Tobias Geerinckx-Rice
2021-08-28zsh completion: Add missing commands and arguments.Noah Evans
2021-06-16bash_completion: Complete options for ‘guix environment’.Tobias Geerinckx-Rice
2021-06-16bash completion: Complete options for the right command.Tobias Geerinckx-Rice
2021-06-16bash completion: Really support subcommands.Tobias Geerinckx-Rice
2021-04-20import: Remove Nix importer.Ludovic Courtès
2021-02-17scripts: system: Remove 'vm-image' command.Mathieu Othacehe
2020-12-04bash completion: Complete file names after '-f' and '-l'.Ludovic Courtès
2020-09-24bash completion: Adjust to new 'guix help' output.Ludovic Courtès
2020-09-21bash completion: Complete file names after 'guix package -p'.Fulbert
2020-09-10bash completion: Restore completion for 'guix system', etc.Ludovic Courtès
2020-06-27bash completion: Complete 'guix environment' properly.Ludovic Courtès
2020-06-04bash completion: Complete sub-commands after 'guix time-machine'.Ludovic Courtès
2020-06-04bash completion: Complete file names after '-p' and '-C'.Ludovic Courtès
2020-05-13mailmap: Update entries for Nikita.nikita
2020-02-14guix build: Add '--manifest' option.Marius Bakke
2019-11-26guix build, daemon: Rename "--no-build-hook" to "--no-offload".Ludovic Courtès
2019-04-29guix package: Add 'install', 'remove', and 'upgrade' aliases.Ludovic Courtès
2019-03-18Correct name and email address for ng0.ng0
2018-11-06bash completion: Restore completion of available packages for 'guix build'.Ludovic Courtès
2018-07-03bash completion: Complete files names after 'guix weather -m'.Oleg Pykhalov
2018-07-03bash completion: Complete files names after 'guix build -L'.Oleg Pykhalov
2018-06-16Add guix-daemon Bash completion file.Oleg Pykhalov
2018-03-20Correct name and Email for ng0.ng0
2018-02-17bash completion: Complete files names after 'guix package -m'.Oleg Pykhalov
2018-01-16etc: Add completions for fish.ng0