Miek Gieben 18304ce9b7 plugin/file: make non-existent file non-fatal (#2955)
* plugin/file: make non-existent file non-fatal

If the zone file being loaded doesn't exist *and* reload is enabled,
just wait the file to pop up in the normal Reload routine.

If reload is set to 0s; we keep this a fatal error on startup. Aslo fix
the ticker in z.Reload(): remove the per second ticks and just use the
reload interval for the ticker.

Brush up the documentation a bit as well.

Fixes: #2951

Signed-off-by: Miek Gieben <miek@miek.nl>

* Stickler and test compile

Signed-off-by: Miek Gieben <miek@miek.nl>

* Remove there too

Signed-off-by: Miek Gieben <miek@miek.nl>

* Cant README test these because zone files dont exist

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-07-04 13:56:37 +08:00
..
2019-03-04 07:32:38 +00:00
2016-09-25 08:39:20 +01:00
2018-12-06 21:18:11 +00:00
2019-03-04 07:32:38 +00:00
2018-07-19 16:23:06 +01:00
2018-07-19 16:23:06 +01:00
2018-07-19 16:23:06 +01:00
2018-07-19 16:23:06 +01:00
2018-07-28 10:32:13 +01:00