Fix file paths for recursive rmdom
[hcoop/domtool2.git] / src / plugins / bind.sml
index 217ef45..9c72152 100644 (file)
@@ -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