services: shepherd: Allow custom 'shepherd' package.
authorMaxime Devos <maximedevos@telenet.be>
Fri, 22 Jan 2021 19:06:55 +0000 (20:06 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sat, 30 Jan 2021 14:36:57 +0000 (15:36 +0100)
commit95f72dcd7aece05e9252c93bef5a831f96cb5393
treec72188dd95779f2535b81ed57b7e8a6d3d0ddf78
parentdae521a0c935d325a13910087d0d2e5c16e97bbf
services: shepherd: Allow custom 'shepherd' package.

* gnu/services/shepherd.scm (<shepherd-configuration>): New record.
(shepherd-boot-gexp, shepherd-root-service-type): Use it.
(scm->go, shepherd-configuration-file): Allow passing custom
shepherd package.
* gnu/system.scm (operating-system-shepherd-service-names): Use the new
record.
* guix/scripts/system.scm (export-shepherd-graph): Adjust accordingly.
* doc/guix.texi (Shepherd Services). Document it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
doc/guix.texi
gnu/services/shepherd.scm
gnu/system.scm
guix/scripts/system.scm