Bug#932328: logrotate.timer "breaks" activity report of /etc/cron.daily/exim4-base

Sven Hartge sven at svenhartge.de
Fri Jul 19 06:29:04 BST 2019


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.

Grüße,
Sven.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-exim4-maintainers/attachments/20190719/ef2c38f9/attachment.sig>


More information about the Pkg-exim4-maintainers mailing list