diff --git a/sendmail.spec b/sendmail.spec index 0ac684417f524b74a15041f1e04d81c661ebb666..7cf08fb653995bbcffd6cb1353e45163e7d7ec98 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 a450b164663612facb481afc6af9e442daaef154..e4d467d6985b092657804b1b77a197ff39bdfc50 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