diff options
author | John Klug <john.klug@multitech.com> | 2017-10-24 09:56:34 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2017-10-24 09:56:34 -0500 |
commit | 6efed559a73c9534943f43f983c745e3cf5f091e (patch) | |
tree | 5a92e759c326dd5d715b141d5b3150f6210c6479 /recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service | |
parent | c15e2a1ca6f9abaaa751a9712de7b3b24bec64c8 (diff) | |
download | meta-mlinux-6efed559a73c9534943f43f983c745e3cf5f091e.tar.gz meta-mlinux-6efed559a73c9534943f43f983c745e3cf5f091e.tar.bz2 meta-mlinux-6efed559a73c9534943f43f983c745e3cf5f091e.zip |
New dnsmasq fixing CVE-2017-13704, 14491-14496
Diffstat (limited to 'recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service')
-rw-r--r-- | recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service b/recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service new file mode 100644 index 0000000..0c64fab --- /dev/null +++ b/recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service @@ -0,0 +1,15 @@ +[Unit] +Description=DNS forwarder and DHCP server +After=network.target + +[Service] +Type=forking +PIDFile=/run/dnsmasq.pid +ExecStartPre=/usr/bin/dnsmasq --test +ExecStart=/usr/bin/dnsmasq -x /run/dnsmasq.pid -7 /etc/dnsmasq.d --local-service +ExecStop=/bin/kill $MAINPID +ExecReload=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target + |