Re: [exim] tip: use -odf when calling exim from a systemd oneshot service

2022-06-16 Thread Slavko via Exim-users
Dňa 14. júna 2022 23:40:21 UTC používateľ Gedalya via Exim-users napísal: >Try Type=forking Nice, i was use KillMode=process before, but your solution looks better ;-) I initially afraid if it will work without pid file, but it is not needed, at least it was not needed in my test and behaves

Re: [exim] tip: use -odf when calling exim from a systemd oneshot service

2022-06-16 Thread Slavko (tblt) via Exim-users
Dňa 14. júna 2022 23:40:21 UTC používateľ Gedalya via Exim-users napísal: >On 6/15/22 04:14, Ian Kelling via Exim-users wrote: >> If calling exim is the last thing the service does, systemd will kill >> off exim's background delivery process > >Try Type=forking > Nice, i was used KillMode=proces

Re: [exim] tip: use -odf when calling exim from a systemd oneshot service

2022-06-14 Thread Gedalya via Exim-users
On 6/15/22 04:14, Ian Kelling via Exim-users wrote: > If calling exim is the last thing the service does, systemd will kill > off exim's background delivery process Try Type=forking (keep everything else the same) -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exi

Re: [exim] tip: use -odf when calling exim from a systemd oneshot service

2022-06-14 Thread Evgeniy Berdnikov via Exim-users
On Tue, Jun 14, 2022 at 04:14:06PM -0400, Ian Kelling via Exim-users wrote: > If calling exim is the last thing the service does, systemd will kill > off exim's background delivery process and the message will be in the > queue waiting until the next queue run. This has bit me when migrating a > sc

[exim] tip: use -odf when calling exim from a systemd oneshot service

2022-06-14 Thread Ian Kelling via Exim-users
If calling exim is the last thing the service does, systemd will kill off exim's background delivery process and the message will be in the queue waiting until the next queue run. This has bit me when migrating a script from a cronjob to a systemd timer. If you run in exim debug mode, the last lin