Browse code

Configure dnsmasq systemd service to restart always

Change-Id: I5e4e26f31930dbc47186bd1f3552d17935da585b
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/4384
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Vinay Kulkarni <kulkarniv@vmware.com>

Vinay Kulkarni authored on 2017/11/28 07:51:26
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/
... ...
@@ -48,6 +48,7 @@ After=network.target
48 48
 
49 49
 [Service]
50 50
 ExecStart=/usr/sbin/dnsmasq -k
51
+Restart=always
51 52
 
52 53
 [Install]
53 54
 WantedBy=multi-user.target
... ...
@@ -69,6 +70,8 @@ rm -rf %{buildroot}
69 69
 %config  /usr/share/dnsmasq/trust-anchors.conf
70 70
 
71 71
 %changelog
72
+*   Mon Nov 13 2017 Vinay Kulkarni <kulkarniv@vmware.com> 2.76-4
73
+-   Always restart dnsmasq service on exit
72 74
 *   Wed Oct 11 2017 Alexey Makhalov <amakhalov@vmware.com> 2.76-3
73 75
 -   Fix CVE-2017-13704
74 76
 *   Wed Sep 27 2017 Alexey Makhalov <amakhalov@vmware.com> 2.76-2