Blame SOURCES/dovecot-2.1.10-waitonline.patch

386c00
diff -up dovecot-2.2.10/dovecot.service.in.waitonline dovecot-2.2.10/dovecot.service.in
386c00
--- dovecot-2.2.10/dovecot.service.in.waitonline	2016-06-09 17:07:30.965683169 +0200
386c00
+++ dovecot-2.2.10/dovecot.service.in	2016-06-09 17:08:56.257389557 +0200
386c00
@@ -1,9 +1,10 @@
386c00
 [Unit]
386c00
 Description=Dovecot IMAP/POP3 email server
386c00
-After=local-fs.target network.target
386c00
+After=local-fs.target network.target network-online.target
86587c
 
86587c
 [Service]
86587c
 Type=simple
86587c
+ExecStartPre=/usr/libexec/dovecot/prestartscript
86587c
 ExecStart=@sbindir@/dovecot -F
86587c
 ExecReload=/bin/kill -HUP $MAINPID
86587c
 PrivateTmp=true