Autor: Jeremy Harris Data: Dla: exim-users Temat: Re: [exim] socket bind() to port 25 for address (any IPv4) failed
(#76)
On 04/04/2020 14:10, Heiko Schlittermann via Exim-users wrote: > Jeremy Harris via Exim-users <exim-users@???> (Sa 04 Apr 2020 12:13:36 CEST):
>> On 04/04/2020 10:08, Ian Zimmerman via Exim-users wrote:
>>> AFAIK running exim under systemd (as the OP clearly does) requires -f in
>>> any case.
>>
>> I don't think so. Here's a unit file I'm using
>> (though I have no idea if it is optimal) :-
>
> True, you do not have to have the service running in foreground mode.
> But it would make systemd happier.
Is there any specific advantage?
I've seen one disadvantage mentioned, although for an MTA it's
a real edge-case: in foreground mode, systemd assumes the service
is fully available immediately and will start any dependent items.
If the service actually takes any time in startup before becoming
available (like, parsing its config, creating all its listener
sockets) then a dependent that tries to use the service will get
a spurious error.
--
Cheers,
Jerem