aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/configs/trivial.conf
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/configs/trivial.conf')
-rw-r--r--test/functional/configs/trivial.conf22
1 files changed, 11 insertions, 11 deletions
diff --git a/test/functional/configs/trivial.conf b/test/functional/configs/trivial.conf
index 5d4aa0af6..97e3a301e 100644
--- a/test/functional/configs/trivial.conf
+++ b/test/functional/configs/trivial.conf
@@ -1,8 +1,8 @@
options = {
filters = ["spf", "dkim", "regexp"]
- url_tld = "${TESTDIR}/../lua/unit/test_tld.dat"
- pidfile = "${TMPDIR}/rspamd.pid";
- lua_path = "${INSTALLROOT}/share/rspamd/lib/?.lua";
+ url_tld = "{= env.TESTDIR =}/../lua/unit/test_tld.dat"
+ pidfile = "{= env.TMPDIR =}/rspamd.pid";
+ lua_path = "{= env.INSTALLROOT =}/share/rspamd/lib/?.lua";
dns {
nameserver = ["8.8.8.8", "8.8.4.4"];
retransmits = 10;
@@ -13,7 +13,7 @@ logging = {
log_urls = true;
type = "file",
level = "debug"
- filename = "${TMPDIR}/rspamd.log";
+ filename = "{= env.TMPDIR =}/rspamd.log";
log_usec = true;
}
metric = {
@@ -26,25 +26,25 @@ metric = {
worker {
type = normal
- bind_socket = ${LOCAL_ADDR}:${PORT_NORMAL}
+ bind_socket = "{= env.LOCAL_ADDR =}:{= env.PORT_NORMAL =}"
count = 1
keypair {
- pubkey = "${KEY_PUB1}";
- privkey = "${KEY_PVT1}";
+ pubkey = "{= env.KEY_PUB1 =}";
+ privkey = "{= env.KEY_PVT1 =}";
}
task_timeout = 10s;
}
worker {
type = controller
- bind_socket = ${LOCAL_ADDR}:${PORT_CONTROLLER}
+ bind_socket = "{= env.LOCAL_ADDR =}:{= env.PORT_CONTROLLER =}"
count = 1
secure_ip = ["127.0.0.1", "::1"];
- stats_path = "${TMPDIR}/stats.ucl"
+ stats_path = "{= env.TMPDIR =}/stats.ucl"
}
modules {
- path = "${TESTDIR}/../../src/plugins/lua/"
+ path = "{= env.TESTDIR =}/../../src/plugins/lua/"
}
-lua = "${INSTALLROOT}/share/rspamd/rules/rspamd.lua"
+lua = "{= env.INSTALLROOT =}/share/rspamd/rules/rspamd.lua"