From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: Adding rottlog service in =?utf-8?Q?=E2=80=98%base-services?= =?utf-8?Q?=E2=80=99=3F?= Date: Thu, 13 Oct 2016 08:37:14 +0000 Message-ID: <87k2dc3arp.fsf@we.make.ritual.n0.is> References: <87wphcpsfu.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55033) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bubWJ-0003XJ-3x for guix-devel@gnu.org; Thu, 13 Oct 2016 04:37:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bubWH-0004MW-8x for guix-devel@gnu.org; Thu, 13 Oct 2016 04:37:42 -0400 In-Reply-To: <87wphcpsfu.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= , guix-devel@gnu.org Ludovic Courtès writes: > Hello Guix! > > Should we add rottlog-service and thus mcron-service to > ‘%base-services’? Is log rotation a basic feature that people expect? > WDYT? What's the size of mcron and its dependency graph of unique packages which aren't already pulled in through %base-services? > If we do so, we would need to document a way to add mcron jobs from the > ‘operating-system’ declaration. People would no longer be able to write > something like this in the ‘services’ field: > > (service mcron-service-type > (mcron-configuration (jobs (list job1 job2 …)))) > > Instead, they’d write something like: > > (mcron-jobs (list job1 job2 …)) > > where: > > (define (mcron-jobs jobs) > (simple-service 'user-mcron-jobs mcron-service-type jobs)) > > Thoughts? > > Ludo’. > > --