diff --git a/sendmail.service b/sendmail.service index 9a7c9c324bcea74f10bb5df374ddbffc33258ab2..597c2c3d0e7cfe6163b6f2df95e40d03f6ea0db6 100644 --- a/sendmail.service +++ b/sendmail.service @@ -13,6 +13,7 @@ EnvironmentFile=-/etc/sysconfig/sendmail ExecStartPre=-/etc/mail/make ExecStartPre=-/etc/mail/make aliases ExecStart=/usr/sbin/sendmail -bd $SENDMAIL_OPTS $SENDMAIL_OPTARG +ExecStartPost=/usr/bin/sleep 0.1 ExecReload=/usr/bin/kill -HUP $MAINPID # hack to allow async reload to complete, otherwise systemd may signal error ExecReload=/usr/bin/sleep 2 diff --git a/sendmail.spec b/sendmail.spec index d41d53c581d2c23fe5c67159d179cf4cc92aca75..00d767948c8d1ff248a3c43388a9e979b237774e 100644 --- a/sendmail.spec +++ b/sendmail.spec @@ -1,6 +1,6 @@ Name: sendmail Version: 8.16.1 -Release: 5 +Release: 6 Summary: A classic mail transfer agent from the Unix world License: Sendmail URL: http://www.sendmail.org/ @@ -468,6 +468,12 @@ exit 0 %changelog +* Tue Feb 15 2022 gaihuiying - 8.16.1-6 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:add ExecStartPost in sendmail.service + * Wed May 12 liulong - 8.16.1-5 - Type:bugfix - ID:NA