!53 [sync] PR-52: 添加ExecStartPost选项到mailman3.service解决服务启动报错

From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-03-09 00:58:20 +00:00 committed by Gitee
commit 9ffdf4edfe
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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