Browse code

Configure dnsmasq systemd service to restart always.

Change-Id: I173b18230e446d5b9fdd9e46e6cd65f30864dd40
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/4385
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Xiaolin Li <xiaolinl@vmware.com>

Vinay Kulkarni authored on 2017/11/28 08:03:04
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	DNS proxy with integrated DHCP server
2 2
 Name:		dnsmasq
3 3
 Version:	2.76
4
-Release:	3%{?dist}
4
+Release:	4%{?dist}
5 5
 License:	GPLv2 or GPLv3
6 6
 Group:		System Environment/Daemons
7 7
 URL:		http://www.thekelleys.org.uk/dnsmasq/
... ...
@@ -49,6 +49,7 @@ After=network.target
49 49
 
50 50
 [Service]
51 51
 ExecStart=/usr/sbin/dnsmasq -k
52
+Restart=always
52 53
 
53 54
 [Install]
54 55
 WantedBy=multi-user.target
... ...
@@ -70,6 +71,8 @@ rm -rf %{buildroot}
70 70
 %config  /usr/share/dnsmasq/trust-anchors.conf
71 71
 
72 72
 %changelog
73
+*   Mon Nov 13 2017 Vinay Kulkarni <kulkarniv@vmware.com> 2.76-4
74
+-   Always restart dnsmasq service on exit
73 75
 *   Wed Oct 11 2017 Alexey Makhalov <amakhalov@vmware.com> 2.76-3
74 76
 -   Fix CVE-2017-13704
75 77
 *   Wed Sep 27 2017 Alexey Makhalov <amakhalov@vmware.com> 2.76-2