Re: Defining shepherd user services -- feedback desired

2018-02-10 Thread Chris Marusich
l...@gnu.org (Ludovic Courtès) writes: >> (define (services->package services) >> "Yield a package for SERVICES by making them into a shepherd >> configuration file via scheme-file." > > This makes me think that perhaps we should generalize profile, and allow > non-package objects in there—it do

Re: Defining shepherd user services -- feedback desired

2018-02-05 Thread Ludovic Courtès
Hey Alex, Alex ter Weele skribis: > Attached is a manifest file which allows a user to write a > shepherd-service like the following: > > (define redshift-service > (shepherd-service >(provision '(redshift)) >(modules `((gnu packages xdisorg) > ,@%default-modules)) >(

Defining shepherd user services -- feedback desired

2018-02-03 Thread Alex ter Weele
Attached is a manifest file which allows a user to write a shepherd-service like the following: (define redshift-service (shepherd-service (provision '(redshift)) (modules `((gnu packages xdisorg) ,@%default-modules)) (start #~(make-forkexec-constructor (list