guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[shepherd] 01/04: doc: Document three service state accessors.


From: Ludovic Courtès
Subject: [shepherd] 01/04: doc: Document three service state accessors.
Date: Fri, 23 Feb 2024 17:12:48 -0500 (EST)

civodul pushed a commit to branch devel
in repository shepherd.

commit 2fcd8a7cc4b21f5983b6283bda3d6c31cf2a00e0
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Feb 21 23:07:37 2024 +0100

    doc: Document three service state accessors.
    
    * doc/shepherd.texi (Interacting with Services): Document
    ‘service-status-changes’, ‘service-startup-failures’, and
    ‘service-respawn-times’.
---
 doc/shepherd.texi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/doc/shepherd.texi b/doc/shepherd.texi
index cf0b918..3dbf45a 100644
--- a/doc/shepherd.texi
+++ b/doc/shepherd.texi
@@ -1024,6 +1024,17 @@ otherwise, it is a truth value, such as an integer 
denoting a PID
 (@pxref{Service De- and Constructors}).
 @end deffn
 
+@deffn {Procedure} service-status-changes @var{service}
+Return the list of symbol/timestamp pairs representing recent state
+changes for @var{service}.
+@end deffn
+
+@deffn {Procedure} service-startup-failures @var{service}
+@deffnx {Procedure} service-respawn-times @var{service}
+Return the list of startup failure times or respawn times of
+@var{service}.
+@end deffn
+
 @cindex replacement, or a service
 @deffn {Procedure} service-replacement @var{service}
 Return the @dfn{replacement} of @var{service}, or @code{#f} if there is



reply via email to

[Prev in Thread] Current Thread [Next in Thread]