summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-13 11:11:58 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-13 12:03:18 +0000
commite7bafe926e1f02a71fe0782be32663829d955d88 (patch)
treefc83492e5cd6babac5e3e3673c72ee6a9b5c243d /conf
parentc475b8026e075e03b9671685b345e0aeebddf302 (diff)
downloadrspamd-e7bafe926e1f02a71fe0782be32663829d955d88.tar.gz
rspamd-e7bafe926e1f02a71fe0782be32663829d955d88.zip
Reiterate on systemd.
Conflicts: CMakeLists.txt conf/rspamd.systemd.conf
Diffstat (limited to 'conf')
-rw-r--r--conf/rspamd.systemd.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/conf/rspamd.systemd.conf b/conf/rspamd.systemd.conf
new file mode 100644
index 000000000..06dbe8599
--- /dev/null
+++ b/conf/rspamd.systemd.conf
@@ -0,0 +1,20 @@
+.include "$CONFDIR/common.conf"
+
+options {
+ .include "$CONFDIR/options.inc"
+}
+
+logging {
+ type = "console";
+ .include "$CONFDIR/logging.inc"
+}
+
+worker {
+ bind_socket = "systemd:0";
+ .include "$CONFDIR/worker-normal.inc"
+}
+
+worker {
+ bind_socket = "systemd:1";
+ .include "$CONFDIR/worker-controller.inc"
+}