Add ExecStartPost option to mailman3.service for fix error message when mailman3 starting

(cherry picked from commit 9d970a19903159557339310e6208c93d1b344b12)
This commit is contained in:
starlet-dx 2023-03-08 18:09:03 +08:00 committed by openeuler-sync-bot
parent 74a5235dc4
commit bfae73d948
2 changed files with 5 additions and 1 deletions

View File

@ -7,7 +7,7 @@
Name: mailman
Version: 3.3.2
Release: 8
Release: 9
Epoch: 3
Summary: The GNU mailing list manager
License: GPLv3
@ -213,6 +213,9 @@ done
%{_datadir}/selinux/*/mailman3.pp
%changelog
* Wed Mar 08 2023 yaoxin <yaoxin30@h-partners.com> - 3:3.3.2-9
- Add ExecStartPost option to mailman3.service for fix error message when mailman3 starting
* Fri Jan 20 2023 yaoxin <yaoxin30@h-partners.com> - 3:3.3.2-8
- Fix build error due to python-authheaders update to 0.15.1

View File

@ -15,6 +15,7 @@ PIDFile=/run/mailman3/master.pid
User=mailman
Group=mailman
ExecStart=/usr/bin/mailman3 start --force
ExecStartPost=/usr/bin/sleep 1
ExecReload=/usr/bin/mailman3 restart
ExecStop=/usr/bin/mailman3 stop