[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding rottlog service in ‘%base-services’?
From: |
ng0 |
Subject: |
Re: Adding rottlog service in ‘%base-services’? |
Date: |
Thu, 13 Oct 2016 08:37:14 +0000 |
Ludovic Courtès <address@hidden> 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’.
>
>
--
Re: Adding rottlog service in ‘%base-services’?, Vincent Legoll, 2016/10/13