Mark, Mark Fenwick wrote: > I have a simple SMF service which has a shell script as the start method. > The start method starts two daemons which fork(), how do I ensure that the > daemons end up in the same process contract ? > > I want the service to restart both daemons should either of them exit, my > observation is that the service only restarts my daemons if I kill(1) one of > the > processes, killing the other process does not. The way you described I would expect both deamons to be in the same contract. Can you check if they are in the same contract? ps -o ctid -p <pid> for both deamons.
Thanks, -Antonello