adding a restart of opendkim when adding/removing a domain: Fixes #11
This commit is contained in:
parent
d4c43a9717
commit
fe19ac334d
|
@ -101,6 +101,7 @@ dns_delete() {
|
||||||
|
|
||||||
# Ask the dns server for restart
|
# Ask the dns server for restart
|
||||||
$RNDC reconfig
|
$RNDC reconfig
|
||||||
|
service opendkim restart
|
||||||
# Hook it !
|
# Hook it !
|
||||||
run-parts --arg=dns_reconfig /usr/lib/alternc/reload.d
|
run-parts --arg=dns_reconfig /usr/lib/alternc/reload.d
|
||||||
}
|
}
|
||||||
|
@ -216,4 +217,5 @@ dns_regenerate() {
|
||||||
|
|
||||||
# ask bind to reload the zone
|
# ask bind to reload the zone
|
||||||
$RNDC reload $domain
|
$RNDC reload $domain
|
||||||
|
service opendkim restart
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue