aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/configs
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2023-12-08 12:51:08 +0200
committerAndrew Lewis <nerf@judo.za.org>2023-12-08 13:22:43 +0200
commitd61879f0eaf7df8520beaa884203f69a07ef147b (patch)
treee19b0aaf332bdccef7f3c6e980f3734b39eab261 /test/functional/configs
parent70bd8f78419df9a0f86037594dc5a9bc07282d97 (diff)
downloadrspamd-d61879f0eaf7df8520beaa884203f69a07ef147b.tar.gz
rspamd-d61879f0eaf7df8520beaa884203f69a07ef147b.zip
[Test] Test systemd logging
Diffstat (limited to 'test/functional/configs')
-rw-r--r--test/functional/configs/systemd-local.conf4
-rw-r--r--test/functional/configs/systemd.conf3
2 files changed, 7 insertions, 0 deletions
diff --git a/test/functional/configs/systemd-local.conf b/test/functional/configs/systemd-local.conf
new file mode 100644
index 000000000..ed796a95e
--- /dev/null
+++ b/test/functional/configs/systemd-local.conf
@@ -0,0 +1,4 @@
+logging {
+ type = "console";
+ systemd = true;
+}
diff --git a/test/functional/configs/systemd.conf b/test/functional/configs/systemd.conf
new file mode 100644
index 000000000..f57827c48
--- /dev/null
+++ b/test/functional/configs/systemd.conf
@@ -0,0 +1,3 @@
+.include(duplicate=append,priority=0) "{= env.TESTDIR =}/configs/trivial.conf"
+
+.include(priority=1,duplicate=merge) "{= env.TESTDIR =}/configs/systemd-local.conf"