Wait for network-online target

network target is not enough in case if cyrus-imapd must bind to
specific ip address

Resolves: #1957608
This commit is contained in:
Pavel Zhukov 2021-05-06 11:35:04 +02:00
parent 4b47b30f99
commit abb8be84d3
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[Unit]
Description=Cyrus-imapd IMAP/POP3 email server
After=local-fs.target network.target
After=local-fs.target network-online.target
Requires=cyrus-imapd-init.service
After=cyrus-imapd-init.service

View File

@ -14,7 +14,7 @@
Name: cyrus-imapd
Version: 3.2.6
Release: 8%{?dist}
Release: 9%{?dist}
%define ssl_pem_file_prefix /etc/pki/%name/%name
@ -658,6 +658,9 @@ getent passwd cyrus >/dev/null || /usr/sbin/useradd -c "Cyrus IMAP Server" -d /v
%changelog
* Thu May 6 2021 Pavel Zhukov <pzhukov@redhat.com> - 3.2.6-9
- Wait for network to be online (#1957608)
* Thu Apr 29 2021 Pavel Zhukov <pzhukov@redhat.com> - 3.2.6-8
- Add pregerated man pages