Peter Tribble wrote: > I've been asked to create a setup in which there are several instances > of an application, with one and only one running at a time.
There is a dependency type that sounds just like the job for this situation: exclude_all. The dependency is satisfied when !{service}, man smf(5) for more. Never seen this used, so not sure what the framers intended. The problematic thing I see is that the dependency is on service, and you are working with instances. Unless you do have properties that are inherited from service to instance, is it possible to make sendmail, postfix, qmail, exim all different *services*, instead of smtp:instance? Just my thoughts on a hack, would love to hear how you make out after you're done. CT > While not the example I'm actually trying to solve today, one possible > case would be a mail MTA: you could have sendmail, postfix, qmail, > and exim installed. How do I ensure that exactly one of those services > is running? >