Ludovic Courtès <l...@gnu.org> 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’.
>
>

-- 

Reply via email to