Skip to content

Commit 06cae43

Browse files
committed
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 <[email protected]>
1 parent c501030 commit 06cae43

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

net/bind/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
1010

1111
PKG_NAME:=bind
1212
PKG_VERSION:=9.20.15
13-
PKG_RELEASE:=1
13+
PKG_RELEASE:=2
1414
USERID:=bind=57:bind=57
1515

1616
PKG_MAINTAINER:=Noah Meyerhans <[email protected]>

net/bind/files/named.init

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ reload_service() {
2020
rndc -q reload
2121
}
2222

23+
stop_service() {
24+
rndc sync --clean
25+
}
26+
2327
start_service() {
2428
user_exists bind 57 || user_add bind 57
2529
group_exists bind 57 || group_add bind 57

0 commit comments

Comments
 (0)