Hi! Jan Nieuwenhuizen <jann...@gnu.org> skribis:
> Using the attached patch and the configuration below, rottlog > actually rotates /var/log/messages daily. Woohoo! > From c7fc570327faeb50503494b370a2f5ab21d4049b Mon Sep 17 00:00:00 2001 > From: Jan Nieuwenhuizen <jann...@gnu.org> > Date: Sat, 18 Jun 2016 22:37:48 +0200 > Subject: [PATCH] gnu: rottlog: rotate messages daily. > > * gnu/packages/admin.scm (rottlog): Set packdir in etc/rc; fixes rotating. > Rename weekly to daily; rotates /var/log/messages daily. I split it in several patches and pushed part of this. ‘rottlog’ was looking for config files in OUT/etc, which made it impossible for people to configure it. So in commit 268ad34e0eadf8a015798b5c5587aad65b9f3a61 I changed it to look for configuration files in /etc/rottlog. Consequently, running “rottlog” alone won’t work; one has to provide /etc/rottlog/{rc,daily} first. We should have a GuixSD service that does that. Thoughts? Thanks, Ludo’.