aboutsummaryrefslogtreecommitdiffstats
path: root/conf/common.conf
diff options
context:
space:
mode:
authorMikhail Gusarov <dottedmag@debian.org>2015-03-06 23:09:04 +0000
committerAndrew Lewis <nerf@judo.za.org>2015-03-17 18:55:45 +0200
commitcd1028e0bddf5f172dc8990c485d8b5fd3eda0b5 (patch)
tree0722d99cd652688404f8f3519474e7f3c5bea8ff /conf/common.conf
parentc74e0eb6e70a2832403f3f4e5f4c4a7b6cbb762e (diff)
downloadrspamd-cd1028e0bddf5f172dc8990c485d8b5fd3eda0b5.tar.gz
rspamd-cd1028e0bddf5f172dc8990c485d8b5fd3eda0b5.zip
Reorganize configuration files for systemd
Common systemd/non-systemd options were moved to .inc files. rspamd.conf is systemd-enabled one, rspamd.sysvinit.conf is sysvinit-compatible one.
Diffstat (limited to 'conf/common.conf')
-rw-r--r--conf/common.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/conf/common.conf b/conf/common.conf
new file mode 100644
index 000000000..d00a42679
--- /dev/null
+++ b/conf/common.conf
@@ -0,0 +1,17 @@
+# A common rspamd configuration file
+
+lua = "$CONFDIR/lua/rspamd.lua"
+
+.include "$CONFDIR/metrics.conf"
+.include "$CONFDIR/composites.conf"
+
+.include "$CONFDIR/statistic.conf"
+
+.include "$CONFDIR/modules.conf"
+
+# User local settings
+.try_include "$CONFDIR/rspamd.conf.local"
+
+modules {
+ path = "$PLUGINSDIR/lua/"
+}