On 19.07.19 07:29, Sven Hartge wrote:
> On 18.07.19 20:01, Sven Hartge wrote:
>> On 17.07.19 20:46, Sven Hartge wrote:
>>
>>> Possible solution (untested): Also create a exim4-base.timer and .service 
>>> and
>>> create a Before= dependency on logrotate.service.
>>
>> I've whipped up a little Proof-of-Concept to test this, available also
>> at https://salsa.debian.org/hartge-guest/exim4/tree/systemd-timer
>>
>> I'm testing this right now on two of my systems to see how this behaves,
>> especially the Before=logrotate.{service,timer} ordering.
> 
> Yes, my test was successful, by ordering the exim4-base.service
> Before=logrotate.service, the latter only starts after the first has
> completed.

I've now let the tests run for the last week and I can conclude it works
perfectly on both Buster and Unstable.

Grüße,
Sven.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to