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. ctwatch(1) does not see an event when killing the second process. Any ideas ? Thanks Mark ---------------------------------------------------------------------------- Mark Fenwick, Solaris Security Technologies. TEL: +1 (650) 786 2733 (X82733) __o Sun Microsystems Inc, Menlo Park, California. `\<,_ (*)/ (*) ----------------------------------------------------------------------------