rspamd/rspamd-after-redis-target.patch
Marcus Rueckert 7cb43f24e8 - disable luajit until we actually package all the lua extensions
for all interpreters. mixing luajit with lua built extensions
  is not working properly apparently
  https://github.com/rspamd/rspamd/discussions/4898
  https://github.com/rspamd/rspamd/discussions/4819
- loosen the Buildrequires for fmt to allow all versions. For older
  distros we will use the intree copy. We added the bundled
  provides in that case.

OBS-URL: https://build.opensuse.org/package/show/server:mail/rspamd?expand=0&rev=118
2024-09-29 23:28:58 +00:00

18 lines
522 B
Diff

Ensure that network is up when rspamd is started
otherwise, it can fail to reach remote rspamd hosts
Index: rspamd-2.6/rspamd.service
===================================================================
--- rspamd-2.6.orig/rspamd.service
+++ rspamd-2.6/rspamd.service
@@ -1,6 +1,7 @@
[Unit]
Description=rapid spam filtering system
-After=nss-lookup.target network-online.target
+After=nss-lookup.target network-online.target redis.target
+Wants=network-online.target
Documentation=https://rspamd.com/doc/
[Service]