~mobin2008

Tehran, Iran

~mobin2008/dinit

Last active 2 years ago
View more

Recent activity

[PATCH logbookd] logbookd: Add fd activation support via content of environment var 7 months ago

From Mobin Aydinfar to ~martijnbraam/public-inbox

It's a simple protocol that the supervisor will supply a already open file desciptor
in LOGBOOKD_READY_FD environment variable in order to find out when logbookd is ready.

It's supported at least on Dinit, s6 and Finit.

See https://davmac.org/projects/dinit/man-pages-html/dinit-service.5.html#ready and
https://skarnet.org/software/s6/notifywhenup.html for more details about this protocol.

Signed-off-by: Mobin Aydinfar <mobin@mobintestserver.ir>
---
 main.c            | 12 ++++++++++++
 meson.build       |  6 +++++-
 meson_options.txt |  3 ++-
 3 files changed, 19 insertions(+), 2 deletions(-)
[message trimmed]