On 06/18/2012 11:41 PM, Christoph Berg wrote: > It is not an error not to have any clusters configured, so we will not > make the init script fail in that case.
If you define the job postgresql initscript to be "bring up all configured postgresql clusters" with zero clusters, exit code 0 would be a good choice. I am wondering: Does that (current) approach meet expections of the user? Imagine a futuristic car with pluggable engines, potentially several in parallel. When trying to start the car would you prefer a message "All availabble engines have been started, fine" or message "Error, no engines found" in case of no engine available? > (If there are no clusters, the > system should just boot to that state.) What consequence would an exit code of 1 at that stage have? My guess is that an error is shown but booting continues as usual? > There might be a point in showing some message in that case, though. Thanks, that's a start. Best, Sebastian -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

