P wrote: > I have a service that's running and it has a contract. What I want to > do is to have that service creates a process that's outside of itself > and outside of it's contract. Here's an example of what I want to > do: > > ServiceA has contract 222 and it's running a process called ProcA. > ProcA creates an entirely different process (ProcNew) and it has its > own contract 444. The contract owner of 444 is svc.startd. > > Is that possible?
No, it isn't. Since holding a contract on a set of processes is really only meaningful if you are willing and able to react to failures in those processes, there isn't a way to assign a contract to another process. > I want to make them so that they are > independent of each other. If either one goes down, it will not > affect the other. Is this possible? It is. As others have suggested, you can put have ProcA put ProcNew in a new contract. Alternatively, (if possible) you can start ProcA and ProcNew from different services. Lastly, if you don't need the restarting capabilities of svc.startd, you can set the startd/ignore_error property to limit the events that will cause svc.startd to restart your service. Dave