Re: Service restarting?
- From: Zoltán Vad <zoltan.vad@xxxxxxxxx>
- Date: Tue, 20 May 2008 16:24:01 +0200
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
- Follow-Ups:
- Re: Service restarting?
- From: David Annis
- Re: Service restarting?
- References:
- Service restarting?
- From: Alper Somuncu
- Re: Service restarting?
- From: Zoltán Vad
- Re: Service restarting?
- From: Miller, Dave (I.S.)
- Service restarting?
- Prev by Date: Re: Service restarting?
- Next by Date: Re: Service restarting?
- Previous by thread: Re: Service restarting?
- Next by thread: Re: Service restarting?
- Index(es):