Re: GNU Shepherd proposal
Reply #5 –
Well, by default, Shepherd's system level config file is expected to be at /etc/shepherd.scm, putting it at /etc/shepherd/config.scm was a personal liberty I took. I think a layout of:
/etc/shepherd/services.d # installed but not enabled
/etc/shepherd/enabled.d # installed and enabled
could work; using (ice-9 ftw)'s scandir to iterate the enabled directory but not the regular services one -- so long as any dependencies are properly listed in a services #:requirement '(dep dep2 dep3) parameter. Other than that, it's been a little while since I've used a Guix system to see how they do it by default.
Perhaps the stage 1 could just be consolidated into a transient/one-shot service for Shepherd, so that it could be invoked directly as init