Blame SOURCES/dovecot-2.1.10-waitonline.patch

2f024d
diff -up dovecot-2.2.36/dovecot.service.in.waitonline dovecot-2.2.36/dovecot.service.in
2f024d
--- dovecot-2.2.36/dovecot.service.in.waitonline	2018-04-30 15:52:05.000000000 +0200
2f024d
+++ dovecot-2.2.36/dovecot.service.in	2018-06-12 15:34:22.459995078 +0200
2f024d
@@ -8,10 +8,11 @@
386c00
 Description=Dovecot IMAP/POP3 email server
2f024d
 Documentation=man:dovecot(1)
2f024d
 Documentation=http://wiki2.dovecot.org/
386c00
-After=local-fs.target network.target
386c00
+After=local-fs.target network.target network-online.target
86587c
 
86587c
 [Service]
2f024d
 Type=forking
86587c
+ExecStartPre=/usr/libexec/dovecot/prestartscript
2f024d
 ExecStart=@sbindir@/dovecot
2f024d
 PIDFile=@rundir@/master.pid
2f024d
 ExecReload=@bindir@/doveadm reload