From f70d755f11c65bdf1e0cf42c7ec9aeb2b0037c4b Mon Sep 17 00:00:00 2001 From: kev Date: Fri, 6 Mar 2015 00:31:03 +0800 Subject: [PATCH] fix dnsmasq --no-daemon --- chinadns/fig.yml | 5 +++-- chinadns/services.conf | 2 +- dnscrypt/fig.yml | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/chinadns/fig.yml b/chinadns/fig.yml index 6c64a6a..a79278e 100644 --- a/chinadns/fig.yml +++ b/chinadns/fig.yml @@ -1,5 +1,6 @@ -dnscrypt: - image: vimagick/dnscrypt +chinadns: + image: vimagick/chinadns ports: - "53:53/udp" - "53:53/tcp" + restart: always diff --git a/chinadns/services.conf b/chinadns/services.conf index bea8369..fb5aa19 100644 --- a/chinadns/services.conf +++ b/chinadns/services.conf @@ -4,4 +4,4 @@ command = chinadns -m -c /etc/chnroute.txt -p 2053 [program:dnsmasq] priority = 200 -command = dnsmasq -C /etc/dnsmasq.conf +command = dnsmasq -d -C /etc/dnsmasq.conf diff --git a/dnscrypt/fig.yml b/dnscrypt/fig.yml index 6c64a6a..1df501d 100644 --- a/dnscrypt/fig.yml +++ b/dnscrypt/fig.yml @@ -3,3 +3,4 @@ dnscrypt: ports: - "53:53/udp" - "53:53/tcp" + restart: always