mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
services: tor: Mark end of auto-generated configuration block.
* gnu/services/networking.scm (tor-configuration->torrc): Clearly demarcate auto-generated lines.
This commit is contained in:
parent
0b5c16c07f
commit
0975ca3fd4
1 changed files with 5 additions and 1 deletions
|
@ -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 @@ (define (tor-configuration->torrc config)
|
|||
(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 @@ (define (tor-configuration->torrc config)
|
|||
(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)
|
||||
|
|
Loading…
Reference in a new issue