Bug 1907223

Summary: Please add ExecReload to Cyrus-IMAPd service unit file to allow configuration reload
Product: [Fedora] Fedora Reporter: Anthony Messina <amessina>
Component: cyrus-imapdAssignee: Pavel Zhukov <pzhukov>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: code, j, pzhukov, vanmeeuwen+fedora, zdohnal
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cyrus-imapd-3.2.4-3.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-14 06:55:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Anthony Messina 2020-12-13 18:24:49 UTC
It would be useful to add the following to the /lib/systemd/system/cyrus-imapd.service as it would allow systemd to issue a call for the master process to re-read its configuration (and process updated certificates after renewal, for example):

ExecReload=/bin/kill -HUP $MAINPID

See man master.8cyrus

Comment 1 Pavel Zhukov 2020-12-14 06:05:31 UTC
Hello,

Thank you  for the suggestion.
I've added ExecReload in rawhide's cyrus-imapd. You can override cyrus-imapd.service in stable releases for now.