diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2018-06-14 04:41:18 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2018-06-14 05:21:35 +0200 |
commit | 0975ca3fd4c65bfdd08fe887812ed6b5df9c5567 (patch) | |
tree | 02d3018eeb8f92e5fedd032f3adfb019c0a07cdf | |
parent | 0b5c16c07f4cc28dc2ffa80d3b6259f10762413d (diff) | |
download | patches-0975ca3fd4c65bfdd08fe887812ed6b5df9c5567.tar patches-0975ca3fd4c65bfdd08fe887812ed6b5df9c5567.tar.gz |
services: tor: Mark end of auto-generated configuration block.
* gnu/services/networking.scm (tor-configuration->torrc): Clearly
demarcate auto-generated lines.
-rw-r--r-- | gnu/services/networking.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm index e4441f6475..d5d0cf9d1d 100644 --- a/gnu/services/networking.scm +++ b/gnu/services/networking.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org> ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be> ;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com> +;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> ;;; ;;; This file is part of GNU Guix. ;;; @@ -608,7 +609,7 @@ demand."))) (call-with-output-file #$output (lambda (port) (display "\ -# The beginning was automatically added. +### These lines were generated from your system configuration: User tor DataDirectory /var/lib/tor Log notice syslog\n" port) @@ -628,6 +629,9 @@ HiddenServicePort ~a ~a~%" (cons name mapping))) services)) + (display "\ +### End of automatically generated lines.\n\n" port) + ;; Append the user's config file. (call-with-input-file #$config-file (lambda (input) |