doc: Fix syntax of Varnish example.

* doc/guix.texi (Web Services): Escape nested string in '%gnu-mirror'
variable definition.  Adjust indentation.
This commit is contained in:
Ludovic Courtès 2019-09-25 17:49:41 +02:00
parent 205a0fe094
commit 4a506da83a
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 4 additions and 5 deletions

View File

@ -19819,13 +19819,12 @@ can do something along these lines:
@lisp @lisp
(define %gnu-mirror (define %gnu-mirror
(plain-file (plain-file "gnu.vcl"
"gnu.vcl"
"vcl 4.1; "vcl 4.1;
backend gnu @{ .host = "www.gnu.org"; @}")) backend gnu @{ .host = \"www.gnu.org\"; @}"))
(operating-system (operating-system
... ;; @dots{}
(services (cons (service varnish-service-type (services (cons (service varnish-service-type
(varnish-configuration (varnish-configuration
(listen '(":80")) (listen '(":80"))