From 0e320a84fa7f1cf61580c5549b25d5ef5e93127e Mon Sep 17 00:00:00 2001 From: Pavel Zhukov Date: Mon, 14 Dec 2020 07:02:22 +0100 Subject: [PATCH] Reload configuration with systemd unig Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1907223 --- cyrus-imapd.service | 1 + cyrus-imapd.spec | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/cyrus-imapd.service b/cyrus-imapd.service index d8f5bde..8b463df 100644 --- a/cyrus-imapd.service +++ b/cyrus-imapd.service @@ -9,6 +9,7 @@ After=cyrus-imapd-init.service Type=simple EnvironmentFile=/etc/sysconfig/cyrus-imapd ExecStart=/usr/libexec/cyrus-imapd/master $CYRUSOPTIONS +ExecReload=/bin/kill -HUP $MAINPID PrivateTmp=true # Cyrus may spawn many processes in normal operation. These figures are higher diff --git a/cyrus-imapd.spec b/cyrus-imapd.spec index a52c732..28a5429 100644 --- a/cyrus-imapd.spec +++ b/cyrus-imapd.spec @@ -2,7 +2,7 @@ # Cassandane commit hash. Cassandane doesn't have releases often, but it # receives constant development. This was fetched on 20180518. -%global cocas 17d372f65470ba2073998f77fd2c89439992c1a0 +%global cocas e417da617e38e80035c777dc4ac1e191e21ad269 %global cocas_short %(echo %{cocas} | cut -c -8) %global testdata_commit ca669d4b76c71cbeb4fa840e263e2c031e19ea88 @@ -14,7 +14,7 @@ Name: cyrus-imapd Version: 3.2.4 -Release: 2%{?dist} +Release: 3%{?dist} %define ssl_pem_file_prefix /etc/pki/%name/%name @@ -685,6 +685,9 @@ getent passwd cyrus >/dev/null || /usr/sbin/useradd -c "Cyrus IMAP Server" -d /v %changelog +* Mon Dec 14 2020 Pavel Zhukov - 3.2.4-3 +- Add ExecReload to service file (#1907223) + * Thu Sep 3 2020 Pavel Zhukov - 3.2.3-1 - New version v3.2.3