From d82a16e51d3b0b89fc7216c2998fc239ca177b68 Mon Sep 17 00:00:00 2001 From: liaichun Date: Mon, 15 Mar 2021 15:11:39 +0800 Subject: [PATCH] add ExecStartPost in sm-client.service --- sendmail.spec | 8 +++++++- sm-client.service | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/sendmail.spec b/sendmail.spec index 273cca2..f2210a5 100644 --- a/sendmail.spec +++ b/sendmail.spec @@ -1,6 +1,6 @@ Name: sendmail Version: 8.16.1 -Release: 3 +Release: 4 Summary: A classic mail transfer agent from the Unix world License: Sendmail URL: http://www.sendmail.org/ @@ -468,6 +468,12 @@ exit 0 %changelog +* Mon Mar 15 2021 Aichun Li - 8.16.1-4 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:add ExecStartPost in sm-client.service + * Fri Jan 15 2021 gaihuiying - 8.16.1-3 - Type:requirement - ID:NA diff --git a/sm-client.service b/sm-client.service index a450b16..e4d467d 100644 --- a/sm-client.service +++ b/sm-client.service @@ -15,6 +15,7 @@ ExecStartPre=/bin/chown smmsp:smmsp /run/sm-client.pid ExecStartPre=-/sbin/restorecon /run/sm-client.pid ExecStartPre=-/etc/mail/make ExecStart=/usr/sbin/sendmail -L sm-msp-queue -Ac $SENDMAIL_OPTS $SENDMAIL_OPTARG +ExecStartPost=/usr/bin/sleep 0.1 [Install] WantedBy=multi-user.target