diff options
author | Andrew Lewis <nerf@judo.za.org> | 2021-05-04 21:43:55 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2021-05-04 21:52:33 +0200 |
commit | a84cecac6bef1211cf8ab245d997b6ac64b6686a (patch) | |
tree | 6df6518a5cc60411967a513fa8e5bc418316a1d5 /test/functional/configs/clickhouse.conf | |
parent | db4da2c22d159d1a6450b9447ad90e1795e5c535 (diff) | |
download | rspamd-a84cecac6bef1211cf8ab245d997b6ac64b6686a.tar.gz rspamd-a84cecac6bef1211cf8ab245d997b6ac64b6686a.zip |
[Test] Use automatically exported variables
Diffstat (limited to 'test/functional/configs/clickhouse.conf')
-rw-r--r-- | test/functional/configs/clickhouse.conf | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/functional/configs/clickhouse.conf b/test/functional/configs/clickhouse.conf index 08a3614a5..f92f2e759 100644 --- a/test/functional/configs/clickhouse.conf +++ b/test/functional/configs/clickhouse.conf @@ -1,6 +1,6 @@ options = { filters = ["spf", "dkim", "regexp"] - pidfile = "${TMPDIR}/rspamd.pid" + pidfile = "${RSPAMD_TMPDIR}/rspamd.pid" lua_path = "${INSTALLROOT}/share/rspamd/lib/?.lua" dns { nameserver = ["8.8.8.8", "8.8.4.4"]; @@ -34,7 +34,7 @@ clickhouse { logging = { type = "file", level = "debug" - filename = "${TMPDIR}/rspamd.log" + filename = "${RSPAMD_TMPDIR}/rspamd.log" } metric = { name = "default", @@ -45,19 +45,19 @@ metric = { } worker { type = normal - bind_socket = ${LOCAL_ADDR}:${PORT_NORMAL} + bind_socket = ${RSPAMD_LOCAL_ADDR}:${RSPAMD_PORT_NORMAL} count = 1 task_timeout = 60s; } worker { type = controller - bind_socket = ${LOCAL_ADDR}:${PORT_CONTROLLER} + bind_socket = ${RSPAMD_LOCAL_ADDR}:${RSPAMD_PORT_CONTROLLER} count = 1 secure_ip = ["127.0.0.1", "::1"]; - stats_path = "${TMPDIR}/stats.ucl" + stats_path = "${RSPAMD_TMPDIR}/stats.ucl" } -lua = "${TESTDIR}/lua/test_coverage.lua"; +lua = "${RSPAMD_TESTDIR}/lua/test_coverage.lua"; modules { - path = "${TESTDIR}/../../src/plugins/lua/" + path = "${RSPAMD_TESTDIR}/../../src/plugins/lua/" } lua = "${INSTALLROOT}/share/rspamd/rules/rspamd.lua" |