GNU bug report logs -
#54986
[PATCH] gnu: mpd: Add support for socket activation.
Previous Next
Full log
View this message in rfc822 format
Hi,
Liliana Marie Prikler <liliana.prikler <at> gmail.com> skribis:
> * gnu/services/shepherd.scm (<shepherd-endpoint>): New record type.
> (shepherd-endpoint->sexp): New variable.
> * doc/guix.texi (Shepherd Services): Document it.
[...]
> +++ b/gnu/services/shepherd.scm
> @@ -66,6 +66,16 @@ (define-module (gnu services shepherd)
> shepherd-action-documentation
> shepherd-action-procedure
>
> + shepherd-endpoint
> + shepherd-endpoint-address
> + shepherd-endpoint-name
> + shepherd-endpoint-style
> + shepherd-endpoint-backlog
> + shepherd-endpoint-socket-owner
> + shepherd-endpoint-socket-group
> + shepherd-endpoint-socket-directory-permissions
> + shepherd-endpoint->sexp
> +
> %default-modules
>
> shepherd-service-file
> @@ -183,6 +193,56 @@ (define %default-modules
> ((guix build utils) #:hide (delete))
> (guix build syscalls)))
>
> +(define-record-type* <shepherd-endpoint>
I don’t think this is necessary: Shepherd endpoints are created in a
#~(make-systemd-constructor …) gexp, it’s OK to use the Shepherd
endpoint API there.
Ludo’.
This bug report was last modified 2 years and 34 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.