From d2568e00d17df05b41832f2779b2e7a8be782e8b Mon Sep 17 00:00:00 2001 From: Michal Cichra Date: Tue, 12 Sep 2017 12:23:10 +0200 Subject: [PATCH] [dnsmasq] allow passing params to dnsmasq by DNSMASQ_OPTIONS --- apicast/.s2i/bin/run | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apicast/.s2i/bin/run b/apicast/.s2i/bin/run index 19c0c5881..ed1731025 100755 --- a/apicast/.s2i/bin/run +++ b/apicast/.s2i/bin/run @@ -34,7 +34,12 @@ else apicast=apicast fi -dnsmasq --listen-address=127.0.0.1 --all-servers --no-host --no-hosts --log-facility=- --cache-size=1000 --port=5353 --no-negcache --server="${RESOLVER:-}" +dnsmasq --listen-address=127.0.0.1 --port=5353 \ + --all-servers --no-host --no-hosts \ + --cache-size=1000 --no-negcache \ + --server="${RESOLVER:-}" \ + --log-facility=- ${DNSMASQ_OPTIONS:-} \ + export RESOLVER=127.0.0.1:5353 exec "${apicast}" "$@"