rspamd/rspamd-conf.patch
Andreas Schneider 265361bd7c Accepting request 632348 from home:darix:playground
- add conflicts on rspamd-client to ease switching between the 2
  modes

- undo the split by guarding it with split_out_client:
  osc build --with=split_out_client if you want to build with it

- replace our copy of rspamd.conf with a patch rspamd-conf.patch:
  currently we only replace the logging to rspamd.conf with console
  and set systemd mode

- split out rspamc and rspamadm into a rspamd-client package.
  the main package will still require it so nothing would change
  from this perspective.
  This allows administration and training from other machines
  without installing the whole stack.

- added rspamd-after-redis-target.patch:
  make sure we start rspamd after redis.target

OBS-URL: https://build.opensuse.org/request/show/632348
OBS-URL: https://build.opensuse.org/package/show/server:mail/rspamd?expand=0&rev=22
2018-08-31 12:46:07 +00:00

15 lines
528 B
Diff

Index: rspamd-1.7.9/conf/rspamd.conf
===================================================================
--- rspamd-1.7.9.orig/conf/rspamd.conf
+++ rspamd-1.7.9/conf/rspamd.conf
@@ -28,7 +28,8 @@ options {
.include(try=true; priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/cgp.inc"
logging {
- type = "file";
+ type = "console";
+ systemd = true;
filename = "$LOGDIR/rspamd.log";
.include "$CONFDIR/logging.inc"
.include(try=true; priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/logging.inc"