Attached systemd service (put in /etc/systemd/system/dnsmasq.service)
seems to work.

Keep in mind that it is not 1:1 replacement, it lacking features of
original unit file.

[Unit]
Description=A lightweight DHCP and caching DNS server
After=network.target

[Service]
Type=simple
ExecStartPre=/usr/sbin/dnsmasq --test
ExecStart=/usr/sbin/dnsmasq -k --user=dnsmasq --group=nogroup
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target
-- 
sg

Reply via email to