[Dnsmasq-discuss] Multiple instances of dnsmasq on Debian with systemd

M. Buecher maddes+debian at maddes.net
Mon Dec 3 19:27:34 GMT 2018



On 2018-12-02 01:01, M. Buecher wrote:
> I spent some time on how to keep backward compatibility for current
> configurations.
> 
> The simplest solution would be to provide 2 systemd unit files:
> 1. An updated dnsmasq.service file for the main/default/standard
> "instance", that reflects the fix for checking the configuration (see
> attached file).
> 2. The new dnsmasq at .service file from the previous post for additional
> instances.
> 
> This way nothing would change for people running just a single dnsmasq
> instance. No need to rename or sym-link /etc/default/dnsmasq to
> dnsmasq.main (or similar).
> Still people could easily create extra instances with the new
> dnsmasq at .service file and a corresponding
> /etc/default/dnsmasq.<instance> file.

Got some time to look at the upstream repo.
Updated init.d script to current state plus renamed files for upstream 
repo.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: default
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20181203/37ae4f89/attachment-0003.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: init
Type: text/x-shellscript
Size: 9672 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20181203/37ae4f89/attachment-0001.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: systemd.service
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20181203/37ae4f89/attachment-0004.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: systemd at .service
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20181203/37ae4f89/attachment-0005.ksh>


More information about the Dnsmasq-discuss mailing list