Running daemon from rc.sysinit
From: Loic BAUDRY (slowlo_at_caramail-et-spiritueux.com)
Date: 07/30/03
- Next message: David Schwartz: "Re: Why use buddy algorithm?"
- Previous message: Oliver: "Re: Why use buddy algorithm?"
- Next in thread: Kasper Dupont: "Re: Running daemon from rc.sysinit"
- Reply: Kasper Dupont: "Re: Running daemon from rc.sysinit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Jul 2003 21:34:30 GMT
Hello.
Before i expose my probleme, i apologize for my english.
Here is my problem :
I want to run a daemon in the begining of the rc.sysinit script. Not in an
/etc/rc.Nd script. My daemon stay alive during the execution of the
rc.sysinit script but it seems to be killed when the runlevel change ( to 3
or 5 but i think the result is the same with others runlevels ).
My question is : is there any way to run a program in rc.sysinit script
and to keep it alive until the shutdown without having to restart it when
changing runlevel ?
Must i change my daemon code ?
Must i change the way i start my daemon in the rc.sysinit script ? (
started with function daemon() which use 'initlog' to run the daemon ).
any help will really be apprecied.
thanks for reading.
Loic.
-- Ce message a ete poste via la plateforme Web club-Internet.fr This message has been posted by the Web platform club-Internet.fr http://forums.club-internet.fr/
- Next message: David Schwartz: "Re: Why use buddy algorithm?"
- Previous message: Oliver: "Re: Why use buddy algorithm?"
- Next in thread: Kasper Dupont: "Re: Running daemon from rc.sysinit"
- Reply: Kasper Dupont: "Re: Running daemon from rc.sysinit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|