]> git.netwichtig.de Git - user/henk/code/s6/service_directory_template.git/commitdiff
add example for readiness notification
authorHendrik Jäger <gitcommit@henk.geekmail.org>
Fri, 25 Aug 2023 11:23:23 +0000 (13:23 +0200)
committerHendrik Jäger <gitcommit@henk.geekmail.org>
Fri, 25 Aug 2023 12:19:11 +0000 (14:19 +0200)
log/notification-fd [new file with mode: 0644]
log/run

diff --git a/log/notification-fd b/log/notification-fd
new file mode 100644 (file)
index 0000000..00750ed
--- /dev/null
@@ -0,0 +1 @@
+3
diff --git a/log/run b/log/run
index b483dde3b7748bd2a2a0cb5dd19c421321657252..870a644b5a4b6dd3c049a8a15138f793f691ce03 100644 (file)
--- a/log/run
+++ b/log/run
@@ -21,6 +21,8 @@ s6-setuidgid ${RUN_USER}
 
 # the command to start and supervise
 s6-log
+       # notify readiness
+       -d3
        # prepend TAI64N timestamp
        t
        # prepent ISO 8601 timestamp