Skip to content

How to propagate stdin from PID1 to a longrun daemon #623

@f18m

Description

@f18m

I'm using s6-overlay in an HomeAssistant addon I'm writing.
One way to send data to the addon/container is to send it to the container stdin.

Since I'm using s6-overlay, the PID 1 of my container (or the entrypoint) is /init and I think this is the script that will receive any stdin byte.
I would like to ask s6-overlay to relay all data from stdin to a longrun daemon registered in s6-overlay. Is that possible?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions