centos 7 systemd file for dnsmasq uses -k:
[root@firewall ~]# cat /usr/lib/systemd/system/dnsmasq.service [Unit] Description=DNS caching server. After=network.target [Service] ExecStart=/usr/sbin/dnsmasq -k [Install] WantedBy=multi-user.target [root@firewall ~]# Em 01/05/18 08:10, george Nopicture escreveu:
Hello list. I was wondering what is the proper way to start dnsmasq from systemd in linux. A default systemd unit file assumes a simple type of service and starts it with -k (keep in foreground). Is that correct or should we specify type=forking and let dnsmasq fork in the background? Thanks, George.
-- Atenciosamente / Sincerily, Leonardo Rodrigues Solutti Tecnologia http://www.solutti.com.br Minha armadilha de SPAM, NÃO mandem email gertru...@solutti.com.br My SPAMTRAP, do not email it _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss