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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Andreas Metzler
Dátum:  
Címzett: exim-users
Tárgy: [exim] exim systemd service: Type=exec or Type=simple
Hello,

I am currently playing around with shipping a native systemd service
file for exim. Both openSUSE and archlinux provide nice starting
points. However, both[2] use Type=simple and reading the docs [1] I cannot
understand why. - The error detection Type=exec offers and Type=simple
lacks seems to be quite a benefit. What am I missing, is this just a
historical thing, with Type=exec having been introduced later?

cu Andreas

[1] https://www.freedesktop.org/software/systemd/man/systemd.service.html
[2] archlinux also has an example for socket activation.
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'

--
## 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/