On Dec 14, 2007 8:09 AM, Lubomir Petrik - Sun Microsystems <Lubomir.Petrik at sun.com> wrote: > Hello again, > > I'm creating a manifest for service application/A that starts some > master daemon and this daemon later starts some other processes which > start yet another processes. My current problem is that when master > daemon is killed it's not restarted due to other running processes in > the contract. So I'd like to decouple the master daemon and the other > processes. These other processes are the same except for the arguments
If your master daemon is a shell script, use ctrun(1) when starting the child. If your master is written in C, you either want to use system(3C) to start the child or muddle your way through libcontract(3LIB). -- Mike Gerdts http://mgerdts.blogspot.com/