Wait for network to be up before starting
OBS-URL: https://build.opensuse.org/package/show/server:mail/rspamd?expand=0&rev=51
This commit is contained in:
parent
e7da101e6a
commit
d406df4269
@ -1,12 +1,17 @@
|
|||||||
Index: rspamd-1.7.9/rspamd.service
|
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-1.7.9.orig/rspamd.service
|
--- rspamd-2.6.orig/rspamd.service
|
||||||
+++ rspamd-1.7.9/rspamd.service
|
+++ rspamd-2.6/rspamd.service
|
||||||
@@ -1,6 +1,6 @@
|
@@ -1,6 +1,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=rapid spam filtering system
|
Description=rapid spam filtering system
|
||||||
-After=nss-lookup.target network-online.target
|
-After=nss-lookup.target network-online.target
|
||||||
+After=nss-lookup.target network-online.target redis.target
|
+After=nss-lookup.target network-online.target redis.target
|
||||||
|
+Wants=network-online.target
|
||||||
Documentation=https://rspamd.com/doc/
|
Documentation=https://rspamd.com/doc/
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 26 12:05:28 UTC 2020 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
|
||||||
|
- Wait for network to be up before starting
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 9 17:51:10 UTC 2020 - Marcus Rueckert <mrueckert@suse.de>
|
Fri Oct 9 17:51:10 UTC 2020 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user