ginkgo icon indicating copy to clipboard operation
ginkgo copied to clipboard

ginkgoctl command should block until service is "ready"

Open chadselph opened this issue 12 years ago • 1 comments

It would be great for gingkoctl to provide a command that asked a service if it was ready.

The reasoning behind this is for startup scripts that use ginkgo start. Since the process backgrounds itself, it will return whether or not the service came up cleanly. The command should either return when it gets a response from the service, timeout, or notice that the service's pid is no longer running.

chadselph avatar Apr 19 '12 05:04 chadselph

Seems like a lot of daemons do this, like apache. Wonder how they do it.

progrium avatar Apr 19 '12 18:04 progrium