add ExecStartPost in sm-client.service

fix https://gitee.com/src-openeuler/sendmail/issues/I3A8Z8?from=project-issue;
This commit is contained in:
gebidelidaye 2021-03-15 10:19:08 +08:00 committed by Gitee
parent 23af59e1b4
commit 1c90e2bcfc

View File

@ -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