mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-25 11:37:56 +00:00
Sendmail can be slow to startup.
So start it in the background to speed up booting.
This commit is contained in:
parent
1114a754ed
commit
68141defd1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=92992
8
etc/rc
8
etc/rc
@ -705,19 +705,19 @@ esac
|
||||
case ${sendmail_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
echo -n ' sendmail'
|
||||
/usr/sbin/sendmail ${sendmail_flags}
|
||||
/usr/sbin/sendmail ${sendmail_flags} &
|
||||
;;
|
||||
*)
|
||||
case ${sendmail_outbound_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
echo -n ' sendmail-outbound'
|
||||
/usr/sbin/sendmail ${sendmail_outbound_flags}
|
||||
/usr/sbin/sendmail ${sendmail_outbound_flags} &
|
||||
;;
|
||||
esac
|
||||
case ${sendmail_submit_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
echo -n ' sendmail-submit'
|
||||
/usr/sbin/sendmail ${sendmail_submit_flags}
|
||||
/usr/sbin/sendmail ${sendmail_submit_flags} &
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
@ -727,7 +727,7 @@ if [ -r /etc/mail/submit.cf ]; then
|
||||
case ${sendmail_msp_queue_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
echo -n ' sendmail-clientmqueue'
|
||||
/usr/sbin/sendmail ${sendmail_msp_queue_flags}
|
||||
/usr/sbin/sendmail ${sendmail_msp_queue_flags} &
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user