On Thu, May 18, 2006 at 10:12:06AM +0100, Neil Garthwaite wrote: > In this regard consider SMF starting an application that takes a few > minutes to start, yet the start command returns almost immediately. > ...
The current answer to this is "don't do that" -- that is, don't let your start method return until after the service is up. For many services this is easy to do, and for many others there may be a tiny race at the end. Monitors sure would be nice, for the general case.