[exim] Re: exim systemd service: Type=exec or Type=simple

Startseite
Nachricht löschen
Nachricht beantworten
Autor: u34--- via Exim-users
Datum:  
To: exim-users
CC: Andreas Metzler
Betreff: [exim] Re: exim systemd service: Type=exec or Type=simple
Heiko Schlittermann via Exim-users <exim-users@???> wrote:

> Andreas Metzler via Exim-users <exim-users@???> (Do 27 Jul 2023 19:04:30 CEST):
> …
> > > Regarding your question: I think, "exec" is the right answer for the
> > > current Exim versions. (Somewhen I started working on "Type=notify", but
> > > that's nothing that's ready yet.)
> >
> > You are using -bdf instead of -bd for the Type=exec example. Afaict
> > the major effect should be a tiny speedup since a fork() and closing in
> > stdin/out/err is avoided. Since exim would not write to stdout/err this
> > should be it. Or am I missing something?
>
> -bd asks Exim to fork, which makes it hard for Systemd to
> supervise it.


Doesn't systemd has a forking service type?

--
u34

>               Using -bdf Systemd can track the process it created.
> 
> Exim writes to std{out,err} in case of debugging options on the command
> line. If I'm not wrong, currently Exim isn't capable of reliable writing
> logs to std{out,err}, but I can imagine implementing this (for some edge
> cases).
> 
> -- 
> Heiko


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/