Re: Service restarting?



Hi Dave,

On Tue, May 20, 2008 at 3:09 PM, Miller, Dave (I.S.)
<Dave.Miller@xxxxxxx> wrote:
Zoltan,
Just curious why this technique instead of say nohup ./rc.adsmserv & ?


The answer simple, the nohup on some aix version went wrong - in my experience.
(I try got some help from ibm but the customer was without maintenance
contract...)

After a parent shell exited the process died. I didn't find exact
answer why and the workaround was 'at now...' style process starting.

I think (I hope right...) the nohup mask the hangup signal and put the
background
process to another process group than the parent shell, usually
together the init (pid=1).

The 'at now ...' do similar, but put the backgroud process process
group togethet to crond.

I think the result same. The process run background forever...

Cheers,
Zoltan