GNU bug report logs -
#68468
[PATCH] gnu: services: Add respawn-limit and respawn-delay.
Previous Next
Full log
View this message in rfc822 format
Hi,
Attila Lendvai <attila.lendvai <at> gmail.com> skribis:
> * gnu/services/shepherd.scm (<shepherd-service>): Add respawn-limit and
> respawn-delay.
>
> Change-Id: I54408e8fb4bcc0956d9610771bf5c566fdc2914c
Neat! Please also mention the changes in ‘shepherd-service-file’.
> + (respawn-limit shepherd-service-respawn-limit
> + (default #f))
> + (respawn-delay shepherd-service-respawn-delay
> + (default #f))
Could you document them in ‘doc/guix.texi’?
> + #$@(if (shepherd-service-respawn-limit service)
> + `(#:respawn-limit
> + ,(shepherd-service-respawn-limit service))
> + '())
> + #$@(if (shepherd-service-respawn-delay service)
> + `(#:respawn-delay
> + ,(shepherd-service-respawn-delay service))
> + '())
In theory, we could end up loading code that uses #:respawn-limit in a
running shepherd that does not support it (too old). To properly
address that, we’d need to check what shepherd version we’re talking to.
But… I think we can ignore this issue, as long as we don’t use it in
gnu/services/*.scm until some time has passed.
Thanks!
Ludo’.
This bug report was last modified 1 year and 151 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.