add ExecStartPost in sm-client.service
fix https://gitee.com/src-openeuler/sendmail/issues/I3A8Z8?from=project-issue;
This commit is contained in:
parent
23af59e1b4
commit
1c90e2bcfc
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user