diff options
author | Mikhail Gusarov <dottedmag@debian.org> | 2015-03-06 23:09:04 +0000 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2015-03-17 18:55:45 +0200 |
commit | cd1028e0bddf5f172dc8990c485d8b5fd3eda0b5 (patch) | |
tree | 0722d99cd652688404f8f3519474e7f3c5bea8ff /conf/rspamd.sysvinit.conf | |
parent | c74e0eb6e70a2832403f3f4e5f4c4a7b6cbb762e (diff) | |
download | rspamd-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/rspamd.sysvinit.conf')
-rw-r--r-- | conf/rspamd.sysvinit.conf | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/conf/rspamd.sysvinit.conf b/conf/rspamd.sysvinit.conf new file mode 100644 index 000000000..a7a0b4904 --- /dev/null +++ b/conf/rspamd.sysvinit.conf @@ -0,0 +1,22 @@ +.include "$CONFDIR/common.conf" + +options { + pidfile = "$RUNDIR/rspamd.pid"; + .include "$CONFDIR/options.inc" +} + +logging { + type = "file"; + filename = "$LOGDIR/rspamd.log"; + .include "$CONFDIR/logging.inc" +} + +worker { + bind_socket = "*:11333"; + .include "$CONFDIR/worker-normal.inc" +} + +worker { + bind_socket = "localhost:11334"; + .include "$CONFDIR/worker-controller.inc" +} |