[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[shepherd] 01/02: doc: Document three service state accessors.
From: |
Ludovic Courtès |
Subject: |
[shepherd] 01/02: doc: Document three service state accessors. |
Date: |
Wed, 20 Mar 2024 14:12:59 -0400 (EDT) |
civodul pushed a commit to branch main
in repository shepherd.
commit 0e0c3cfb8063cb82ec22d6cd200ccb0ce2400865
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 253e586..0c036bb 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