>On Tue, Jan 6, 2009 at 7:18 PM, William Roche <William.Roche at sun.com> wrote: >> Christine, >> >> Just a question: Have you tried what I suggested in my answer yesterday? >> Did you find anything that would not work ? >> > >I put the while loop in ( ) & and it did work; therefore my question >to Casper. I did not go with the wrapper script kicking off the real >script. > >I cannot and do not want to make it a transient service. > >I tried to set ignore signal, but this does not prevent SMF from >restarting the service when a valid exit condition happens, which >caused the script to exit.
If the parent script exits, then SMF feels that the service is "online" as long as the sub shell script runs. It is still running? If the subshell runs, it's part of the contract and SMF should not restart the service. Casper