summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Jäger <gitcommit@henk.geekmail.org>2023-08-25 13:23:23 +0200
committerHendrik Jäger <gitcommit@henk.geekmail.org>2023-08-25 14:19:11 +0200
commit6afcd94a50a9a6522959cbceed9361ae409b5523 (patch)
tree620b1e8e94abb58d2a4ae8c2bcf8984d099925fe
parent8728e25b3436576faf5a9b82b9174c7d8ce8f640 (diff)
add example for readiness notification
-rw-r--r--log/notification-fd1
-rw-r--r--log/run2
2 files changed, 3 insertions, 0 deletions
diff --git a/log/notification-fd b/log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/log/run b/log/run
index b483dde..870a644 100644
--- 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