add ExecStartPost in sendmail.service
This commit is contained in:
parent
a190d7ca64
commit
1c03fa79dc
@ -13,6 +13,7 @@ EnvironmentFile=-/etc/sysconfig/sendmail
|
|||||||
ExecStartPre=-/etc/mail/make
|
ExecStartPre=-/etc/mail/make
|
||||||
ExecStartPre=-/etc/mail/make aliases
|
ExecStartPre=-/etc/mail/make aliases
|
||||||
ExecStart=/usr/sbin/sendmail -bd $SENDMAIL_OPTS $SENDMAIL_OPTARG
|
ExecStart=/usr/sbin/sendmail -bd $SENDMAIL_OPTS $SENDMAIL_OPTARG
|
||||||
|
ExecStartPost=/usr/bin/sleep 0.1
|
||||||
ExecReload=/usr/bin/kill -HUP $MAINPID
|
ExecReload=/usr/bin/kill -HUP $MAINPID
|
||||||
# hack to allow async reload to complete, otherwise systemd may signal error
|
# hack to allow async reload to complete, otherwise systemd may signal error
|
||||||
ExecReload=/usr/bin/sleep 2
|
ExecReload=/usr/bin/sleep 2
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
Name: sendmail
|
Name: sendmail
|
||||||
Version: 8.17.1
|
Version: 8.17.1
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: A classic mail transfer agent from the Unix world
|
Summary: A classic mail transfer agent from the Unix world
|
||||||
License: Sendmail
|
License: Sendmail
|
||||||
URL: http://www.sendmail.org/
|
URL: http://www.sendmail.org/
|
||||||
@ -467,6 +467,12 @@ exit 0
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 15 2022 gaihuiying <eaglegai@163.com> - 8.17.1-2
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:add ExecStartPost in sendmail.service
|
||||||
|
|
||||||
* Fri Dec 24 2021 yanglu <yanglu72@huawei.com> - 8.17.1-1
|
* Fri Dec 24 2021 yanglu <yanglu72@huawei.com> - 8.17.1-1
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user