-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
proposalEnhancement idea or proposalEnhancement idea or proposal
Description
Proposed change
Detect on start-up if the environment variable NOTIFY_SOCKET is set and, if so, automatically trigger writing some status information to the Unix socket which is specified in that env var.
In particular, READY=1\n when start-up is complete, as the most critical piece of information. Various status information such as "JS enabled" and auto-detected limits might make sense too.
Use case
Improved reliability of start-up management, both from systemd and from anything else trying to start a NATS server and wait for it to be ready before continuing.
Contribution
Sure.
Metadata
Metadata
Assignees
Labels
proposalEnhancement idea or proposalEnhancement idea or proposal