diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-02-18 16:46:43 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-02-18 16:46:43 +0000 |
commit | 8f419996786af380a3bc96ddc55d3a295991d7ef (patch) | |
tree | 2c08f82b3321b30932ec780eba0adc6b7f32d94e /src | |
parent | 79f00df258e56deb7fe1957e6886a84e85c1cd6e (diff) | |
download | rspamd-8f419996786af380a3bc96ddc55d3a295991d7ef.tar.gz rspamd-8f419996786af380a3bc96ddc55d3a295991d7ef.zip |
[Minor] Do not use hardcoded paths
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/lua/elastic.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/lua/elastic.lua b/src/plugins/lua/elastic.lua index ae789f0c5..c89a9afdc 100644 --- a/src/plugins/lua/elastic.lua +++ b/src/plugins/lua/elastic.lua @@ -39,8 +39,8 @@ local enabled = true local settings = { limit = 10, index_pattern = 'rspamd-%Y.%m.%d', - template_file = '/etc/rspamd/rspamd_template.json', - kibana_file = '/etc/rspamd/kibana.json', + template_file = rspamd_paths['PLUGINSDIR'] .. '/elastic/rspamd_template.json', + kibana_file = rspamd_paths['PLUGINSDIR'] ..'/elastic/kibana.json', key_prefix = 'elastic-', expire = 3600, failover = false, |