Skip to content
Snippets Groups Projects
Verified Commit 62a4a441 authored by Tomas Krizek's avatar Tomas Krizek
Browse files

daemon/lua: rename config to postconfig

parent 7f6ee00a
Branches
Tags
1 merge request!925Remove systemd socket activation
......@@ -458,7 +458,7 @@ static int init_resolver(struct engine *engine)
knot_edns_init(engine->resolver.opt_rr, KR_EDNS_PAYLOAD, 0, KR_EDNS_VERSION, engine->pool);
/* Use default TLS padding */
engine->resolver.tls_padding = -1;
/* Empty init; filled via ./lua/config.lua */
/* Empty init; filled via ./lua/postconfig.lua */
kr_zonecut_init(&engine->resolver.root_hints, (const uint8_t *)"", engine->pool);
/* Open NS rtt + reputation cache */
lru_create(&engine->resolver.cache_rtt, LRU_RTT_SIZE, NULL, NULL);
......
......@@ -36,7 +36,7 @@ run_target( # run manually to re-generate kres-gen.lua
)
lua_src = [
files('config.lua'),
files('postconfig.lua'),
files('kres.lua'),
files('kres-gen.lua'),
sandbox,
......
File moved
......@@ -568,7 +568,7 @@ int main(int argc, char **argv)
if (the_args->config.len == 0 && access("config", R_OK) == 0)
array_push(the_args->config, "config");
if (load_defaults)
array_push(the_args->config, LIBDIR "/config.lua");
array_push(the_args->config, LIBDIR "/postconfig.lua");
/* File-descriptor count limit: soft->hard. */
struct rlimit rlim;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment