!12 add ExecStartPost in sm-client.service
From: @gebidelidaye Reviewed-by: @zengwefeng,@wangxp006 Signed-off-by: @zengwefeng,@wangxp006
This commit is contained in:
commit
4c3540808f
@ -1,6 +1,6 @@
|
|||||||
Name: sendmail
|
Name: sendmail
|
||||||
Version: 8.16.1
|
Version: 8.16.1
|
||||||
Release: 3
|
Release: 4
|
||||||
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/
|
||||||
@ -466,6 +466,12 @@ exit 0
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 15 2021 Aichun Li <liaichun@huawei.com> - 8.16.1-4
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:add ExecStartPost in sm-client.service
|
||||||
|
|
||||||
* Thu Sep 03 2020 zengwefeng <zwfeng@huawei.com> - 8.16.1-3
|
* Thu Sep 03 2020 zengwefeng <zwfeng@huawei.com> - 8.16.1-3
|
||||||
- Type:NA
|
- Type:NA
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
@ -15,6 +15,7 @@ ExecStartPre=/bin/chown smmsp:smmsp /run/sm-client.pid
|
|||||||
ExecStartPre=-/sbin/restorecon /run/sm-client.pid
|
ExecStartPre=-/sbin/restorecon /run/sm-client.pid
|
||||||
ExecStartPre=-/etc/mail/make
|
ExecStartPre=-/etc/mail/make
|
||||||
ExecStart=/usr/sbin/sendmail -L sm-msp-queue -Ac $SENDMAIL_OPTS $SENDMAIL_OPTARG
|
ExecStart=/usr/sbin/sendmail -L sm-msp-queue -Ac $SENDMAIL_OPTS $SENDMAIL_OPTARG
|
||||||
|
ExecStartPost=/usr/bin/sleep 0.1
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user