File dnsmasq.service of Package dnsmasq
# vim: syntax=systemd [Unit] Description=upstream dnsmasq After=network.target Wants=nss-lookup.target Before=nss-lookup.target StartLimitIntervalSec=123 [Service] Restart=on-failure StartLimitBurst=123 Type=dbus BusName=uk.org.thekelleys.dnsmasq ExecStartPre=/bin/mkdir -pv /run/dnsmasq ExecStartPre=/bin/touch /run/dnsmasq/log.txt ExecStart=/usr/sbin/dnsmasq -u dnsmasq -g nogroup --log-async --enable-dbus --keep-in-foreground ExecStartPost=/bin/chmod -v 644 /run/dnsmasq/log.txt ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target