From 9d970a19903159557339310e6208c93d1b344b12 Mon Sep 17 00:00:00 2001 From: starlet-dx <15929766099@163.com> Date: Wed, 8 Mar 2023 18:09:03 +0800 Subject: [PATCH] Add ExecStartPost option to mailman3.service for fix error message when mailman3 starting --- mailman.spec | 5 ++++- mailman3.service | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/mailman.spec b/mailman.spec index ae0b723..8e96183 100644 --- a/mailman.spec +++ b/mailman.spec @@ -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 - 3:3.3.2-9 +- Add ExecStartPost option to mailman3.service for fix error message when mailman3 starting + * Fri Jan 20 2023 yaoxin - 3:3.3.2-8 - Fix build error due to python-authheaders update to 0.15.1 diff --git a/mailman3.service b/mailman3.service index d565aa4..4d34adb 100644 --- a/mailman3.service +++ b/mailman3.service @@ -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 -- Gitee