First, I agree with everything Alan has said. Quoth Yifan Xu on Thu, Dec 11, 2008 at 05:49:25PM +0800: > Sounds making sense to me. I am not sure I understand the role of the > default instance correctly. In what case a service would have a default > instance and at the same time some other specific instances under it?
Usually when the developer wants to supply a default configuration, but it makes sense for administrators to run multiple daemons with different configurations. > If there are other ways that the vrrp daemon could get notifications, I > agree that we don't have to rely on the smf dependency mechanism. You should be able to use "svcprop -w -p restarter/state" to wait until a service's state changes. We also have library interfaces, though they're private and you'd have to agree to a contract to use them. David