refactor(config): delete generated includes
In the following commits, the overrides will be loaded at runtime
This commit is contained in:
parent
a3e3f2216c
commit
bfbc87aaca
|
@ -21,9 +21,7 @@ main(_) ->
|
|||
false -> Acc
|
||||
end
|
||||
end, BaseConf, Cfgs),
|
||||
ClusterInc = "include \"cluster-override.conf\"\n",
|
||||
LocalInc = "include \"local-override.conf\"\n",
|
||||
ok = file:write_file("apps/emqx_conf/etc/emqx.conf.all", [Conf, ClusterInc, LocalInc]).
|
||||
ok = file:write_file("apps/emqx_conf/etc/emqx.conf.all", Conf).
|
||||
|
||||
get_all_cfgs(Root) ->
|
||||
Apps = filelib:wildcard("*", Root) -- ["emqx_machine", "emqx_conf"],
|
||||
|
|
Loading…
Reference in New Issue