mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 17:04:32 +04:00
bind: save out served domains on service stop
If named gets stopped, then started again, but isc-dhcpd isn't also restarted, then we want named to at least have the existing content. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
This commit is contained in:
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=bind
|
||||
PKG_VERSION:=9.20.15
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
USERID:=bind=57:bind=57
|
||||
|
||||
PKG_MAINTAINER:=Noah Meyerhans <frodo@morgul.net>
|
||||
|
||||
@@ -20,6 +20,10 @@ reload_service() {
|
||||
rndc -q reload
|
||||
}
|
||||
|
||||
stop_service() {
|
||||
rndc stop
|
||||
}
|
||||
|
||||
start_service() {
|
||||
user_exists bind 57 || user_add bind 57
|
||||
group_exists bind 57 || group_add bind 57
|
||||
|
||||
Reference in New Issue
Block a user