rspamd/rspamd-after-redis-target.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

13 lines
396 B
Diff

Index: rspamd-1.7.9/rspamd.service
===================================================================
--- rspamd-1.7.9.orig/rspamd.service
+++ rspamd-1.7.9/rspamd.service
@@ -1,6 +1,6 @@
[Unit]
Description=rapid spam filtering system
-After=nss-lookup.target network-online.target
+After=nss-lookup.target network-online.target redis.target
Documentation=https://rspamd.com/doc/
[Service]