use Wants=network-online.target instead of preexec nm-online (#2095949)
This commit is contained in:
parent
6c72b310bc
commit
4990c863a9
@ -1,11 +1,11 @@
|
|||||||
diff -up dovecot-2.3.15/dovecot.service.in.waitonline dovecot-2.3.15/dovecot.service.in
|
diff -up dovecot-2.3.19.1/dovecot.service.in.waitonline dovecot-2.3.19.1/dovecot.service.in
|
||||||
--- dovecot-2.3.15/dovecot.service.in.waitonline 2021-06-21 20:19:19.560494654 +0200
|
--- dovecot-2.3.19.1/dovecot.service.in.waitonline 2022-06-14 08:55:03.000000000 +0200
|
||||||
+++ dovecot-2.3.15/dovecot.service.in 2021-06-21 20:21:17.443066248 +0200
|
+++ dovecot-2.3.19.1/dovecot.service.in 2022-11-08 20:28:37.550081709 +0100
|
||||||
@@ -15,6 +15,7 @@ After=local-fs.target network-online.tar
|
@@ -12,6 +12,7 @@ Description=Dovecot IMAP/POP3 email serv
|
||||||
|
Documentation=man:dovecot(1)
|
||||||
|
Documentation=https://doc.dovecot.org/
|
||||||
|
After=local-fs.target network-online.target
|
||||||
|
+Wants=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=@systemdservicetype@
|
Type=@systemdservicetype@
|
||||||
+ExecStartPre=/usr/libexec/dovecot/prestartscript
|
|
||||||
ExecStart=@sbindir@/dovecot -F
|
|
||||||
ExecReload=@bindir@/doveadm reload
|
|
||||||
ExecStop=@bindir@/doveadm stop
|
|
||||||
|
@ -25,9 +25,9 @@ diff -up dovecot-2.3.15/dovecot.service.in.initbysystemd dovecot-2.3.15/dovecot.
|
|||||||
-After=local-fs.target network-online.target
|
-After=local-fs.target network-online.target
|
||||||
+After=local-fs.target network-online.target dovecot-init.service
|
+After=local-fs.target network-online.target dovecot-init.service
|
||||||
+Requires=dovecot-init.service
|
+Requires=dovecot-init.service
|
||||||
|
Wants=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=@systemdservicetype@
|
|
||||||
diff -up dovecot-2.3.15/Makefile.am.initbysystemd dovecot-2.3.15/Makefile.am
|
diff -up dovecot-2.3.15/Makefile.am.initbysystemd dovecot-2.3.15/Makefile.am
|
||||||
--- dovecot-2.3.15/Makefile.am.initbysystemd 2021-06-21 20:21:49.250680889 +0200
|
--- dovecot-2.3.15/Makefile.am.initbysystemd 2021-06-21 20:21:49.250680889 +0200
|
||||||
+++ dovecot-2.3.15/Makefile.am 2021-06-21 20:24:26.676765849 +0200
|
+++ dovecot-2.3.15/Makefile.am 2021-06-21 20:24:26.676765849 +0200
|
||||||
|
@ -6,7 +6,7 @@ Name: dovecot
|
|||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 2.3.19.1
|
Version: 2.3.19.1
|
||||||
%global prever %{nil}
|
%global prever %{nil}
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
#dovecot itself is MIT, a few sources are PD, pigeonhole is LGPLv2
|
#dovecot itself is MIT, a few sources are PD, pigeonhole is LGPLv2
|
||||||
License: MIT and LGPLv2
|
License: MIT and LGPLv2
|
||||||
|
|
||||||
@ -480,6 +480,9 @@ make check
|
|||||||
%{_libdir}/%{name}/dict/libdriver_pgsql.so
|
%{_libdir}/%{name}/dict/libdriver_pgsql.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 08 2022 Michal Hlavinka <mhlavink@redhat.com> - 1:2.3.19.1-6
|
||||||
|
- use Wants=network-online.target instead of preexec nm-online (#2095949)
|
||||||
|
|
||||||
* Tue Oct 11 2022 Michal Hlavinka <mhlavink@redhat.com> - 1:2.3.19.1-5
|
* Tue Oct 11 2022 Michal Hlavinka <mhlavink@redhat.com> - 1:2.3.19.1-5
|
||||||
- build with lua support (#2132420)
|
- build with lua support (#2132420)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user