!26 add ExecStartPost in sendmail.service
From: @eaglegai Reviewed-by: @yanan-rock Signed-off-by: @yanan-rock
This commit is contained in:
commit
a10072924b
@ -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
|
||||
|
||||
@ -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 <eaglegai@163.com> - 8.16.1-6
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:add ExecStartPost in sendmail.service
|
||||
|
||||
* Wed May 12 liulong <liulong20@huawei.com> - 8.16.1-5
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user