[Dnsmasq-discuss] "The" way to start dnsmasq via systemd
Leonardo Rodrigues
leolistas at solutti.com.br
Fri May 4 17:20:17 BST 2018
centos 7 systemd file for dnsmasq uses -k:
[root at 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 at 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
gertrudes at solutti.com.br
My SPAMTRAP, do not email it
More information about the Dnsmasq-discuss
mailing list