Depend on network-online target

This commit is contained in:
Pavel Zhukov 2021-03-22 11:05:55 +01:00
parent 669ed38750
commit a577df1d3a
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[Unit] [Unit]
Description=Cyrus-imapd IMAP/POP3 email server 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 Requires=cyrus-imapd-init.service
After=cyrus-imapd-init.service After=cyrus-imapd-init.service

View File

@ -14,7 +14,7 @@
Name: cyrus-imapd Name: cyrus-imapd
Version: 3.2.6 Version: 3.2.6
Release: 1%{?dist} Release: 2%{?dist}
%define ssl_pem_file_prefix /etc/pki/%name/%name %define ssl_pem_file_prefix /etc/pki/%name/%name
@ -645,6 +645,9 @@ getent passwd cyrus >/dev/null || /usr/sbin/useradd -c "Cyrus IMAP Server" -d /v
%changelog %changelog
* Mon Mar 22 2021 Pavel Zhukov <pzhukov@redhat.com> - 3.2.6-2
- Require online target to prevent binding to down devices
* Thu Mar 11 2021 Pavel Zhukov <pzhukov@redhat.com> - 3.2.6-1 * Thu Mar 11 2021 Pavel Zhukov <pzhukov@redhat.com> - 3.2.6-1
- New version v3.2.6 - New version v3.2.6