mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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
1 changed files with 4 additions and 4 deletions
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 a new issue