dnsmasq: send procd signal on service reload
Send a SIGHUP signal via procd to the dnsmasq service so the instance(s) re-read(s) the /tmp/hosts/dhcp config. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
		
				
					committed by
					
						
						Hans Dedecker
					
				
			
			
				
	
			
			
			
						parent
						
							4f02285d8b
						
					
				
				
					commit
					23bba9cb33
				
			@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 | 
			
		||||
 | 
			
		||||
PKG_NAME:=dnsmasq
 | 
			
		||||
PKG_VERSION:=2.78
 | 
			
		||||
PKG_RELEASE:=6
 | 
			
		||||
PKG_RELEASE:=7
 | 
			
		||||
 | 
			
		||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 | 
			
		||||
PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq/
 | 
			
		||||
 
 | 
			
		||||
@@ -1084,7 +1084,7 @@ start_service() {
 | 
			
		||||
 | 
			
		||||
reload_service() {
 | 
			
		||||
	rc_procd start_service "$@"
 | 
			
		||||
	return 0
 | 
			
		||||
	procd_send_signal dnsmasq "$@"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
stop_service() {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user