I have a process running in solaris 10, wanted to restart this process automatically when it dies.

I have tried with respawn in inittab, but no help

Can somebody help me with this.

Thanks in advance