X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/82a0d609e39bb052f31efb7b70fe3b84fe4221a3..77a8fca278b561808959fa1aa7d9f02c5cfe7720:/src/plugins/bind.sml diff --git a/src/plugins/bind.sml b/src/plugins/bind.sml index 217ef45..9c72152 100644 --- a/src/plugins/bind.sml +++ b/src/plugins/bind.sml @@ -266,4 +266,8 @@ val () = Slave.registerPostHandler fn cl => "Error reloading bind with " ^ cl) else ())) + +val () = Domain.registerResetLocal (fn () => + ignore (OS.Process.system (Config.rm ^ " -rf /var/domtool/zones/*"))) + end