me
/
guix
Archived
1
0
Fork 0

services: docker: Fix configuration.

This is a follow-up to e04b90607a.

* gnu/services/docker.scm
(docker-shepherd-service): Fix "enable-proxy?" configuration.
master
Oleg Pykhalov 2020-09-23 23:34:21 +03:00
parent 9273f75dd6
commit cd4bb173e0
No known key found for this signature in database
GPG Key ID: 167F8EA5001AFA9C
1 changed files with 5 additions and 5 deletions

View File

@ -122,11 +122,11 @@ loop-back communications.")
#$@(if debug? #$@(if debug?
'("--debug" "--log-level=debug") '("--debug" "--log-level=debug")
'()) '())
(if #$enable-proxy? #$@(if enable-proxy?
'("--userland-proxy=true" (list "--userland-proxy=true"
(string-append #~(string-append
"--userland-proxy-path=" #$proxy "/bin/proxy")) "--userland-proxy-path=" #$proxy "/bin/proxy"))
'("--userland-proxy=false")) '("--userland-proxy=false"))
(if #$enable-iptables? (if #$enable-iptables?
"--iptables" "--iptables"
"--iptables=false")) "--iptables=false"))