aboutsummaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-11-06 13:53:35 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-11-06 13:53:35 +0000
commit1dd3a94674f06f0cd85cd6f698ddcee95b7c7330 (patch)
treee78ed3412f118c0e278f7bd7bbc726f296f59a33 /rules
parent2fa3f26efff008ba65d8f32f5f41e71181d0bd59 (diff)
downloadrspamd-1dd3a94674f06f0cd85cd6f698ddcee95b7c7330.tar.gz
rspamd-1dd3a94674f06f0cd85cd6f698ddcee95b7c7330.zip
[Conf] Add lua.local.d folder
Diffstat (limited to 'rules')
-rw-r--r--rules/rspamd.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/rspamd.lua b/rules/rspamd.lua
index dcc872d15..3b80a035a 100644
--- a/rules/rspamd.lua
+++ b/rules/rspamd.lua
@@ -51,6 +51,10 @@ else
end
end
+for local_lua in rspamd_util.glob(local_conf .. '/lua.local.d/*.lua') do
+ dofile(local_lua)
+end
+
if rspamd_util.file_exists(local_conf .. '/local.d/rspamd.lua') then
dofile(local_conf .. '/local.d/rspamd.lua')
end