From 18cb3d0531c69266bb8fe62e998d9328fe795ebd Mon Sep 17 00:00:00 2001 From: liaichun Date: Mon, 15 Mar 2021 15:40:34 +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 0ac6844..7cf08fb 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/ @@ -466,6 +466,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 + * Thu Sep 03 2020 zengwefeng - 8.16.1-3 - Type:NA - 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 -- Gitee