2011-08-22 18:07:46 +00:00
|
|
|
[Unit]
|
|
|
|
Description=DNS caching server.
|
|
|
|
After=syslog.target network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
|
|
|
PIDFile=/var/run/dnsmasq.pid
|
2011-08-22 18:09:43 +00:00
|
|
|
EnvironmentFile=-/etc/sysconfig/network
|
2011-08-22 18:07:46 +00:00
|
|
|
ExecStart=/usr/sbin/dnsmasq -s $HOSTNAME
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|