dnsmasq unit file cleanup
- drop forking Type and PIDfile and rather start dnsmasq with "-k" option - drop After syslog.target as this is by default Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
parent
c47bd50841
commit
c925f9e48a
@ -1,11 +1,9 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=DNS caching server.
|
Description=DNS caching server.
|
||||||
After=syslog.target network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
ExecStart=/usr/sbin/dnsmasq -k
|
||||||
PIDFile=/var/run/dnsmasq.pid
|
|
||||||
ExecStart=/usr/sbin/dnsmasq
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
Name: dnsmasq
|
Name: dnsmasq
|
||||||
Version: 2.66
|
Version: 2.66
|
||||||
Release: 4%{?extraversion}%{?dist}
|
Release: 5%{?extraversion}%{?dist}
|
||||||
Summary: A lightweight DHCP/caching DNS server
|
Summary: A lightweight DHCP/caching DNS server
|
||||||
|
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -164,6 +164,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man1/dhcp_*
|
%{_mandir}/man1/dhcp_*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 30 2013 Tomas Hozza <thozza@redhat.com> - 2.66-5
|
||||||
|
- dnsmasq unit file cleanup
|
||||||
|
- drop forking Type and PIDfile and rather start dnsmasq with "-k" option
|
||||||
|
- drop After syslog.target as this is by default
|
||||||
|
|
||||||
* Thu Apr 25 2013 Tomas Hozza <thozza@redhat.com> - 2.66-4
|
* Thu Apr 25 2013 Tomas Hozza <thozza@redhat.com> - 2.66-4
|
||||||
- include several fixes from upstream repo:
|
- include several fixes from upstream repo:
|
||||||
- Send TCP DNS messages in one packet
|
- Send TCP DNS messages in one packet
|
||||||
|
Loading…
Reference in New Issue
Block a user