Reload configuration with systemd unig

Resolves:  https://bugzilla.redhat.com/show_bug.cgi?id=1907223
This commit is contained in:
Pavel Zhukov 2020-12-14 07:02:22 +01:00
parent 79a1bb4589
commit 0e320a84fa
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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 <pzhukov@redhat.com> - 3.2.4-3
- Add ExecReload to service file (#1907223)
* Thu Sep 3 2020 Pavel Zhukov <pzhukov@redhat.com> - 3.2.3-1
- New version v3.2.3