adding a restart of opendkim when adding/removing a domain: Fixes #11

This commit is contained in:
Benjamin Sonntag 2015-09-25 18:06:27 +02:00
parent d4c43a9717
commit fe19ac334d
1 changed files with 2 additions and 0 deletions

View File

@ -101,6 +101,7 @@ dns_delete() {
# Ask the dns server for restart
$RNDC reconfig
service opendkim restart
# Hook it !
run-parts --arg=dns_reconfig /usr/lib/alternc/reload.d
}
@ -216,4 +217,5 @@ dns_regenerate() {
# ask bind to reload the zone
$RNDC reload $domain
service opendkim restart
}