[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: How to start deamons?

 I copied the a.out file to /etc/rc.d/init.d . But when the system
 boots up, I couldn't see my a.out running using ps -axl

I have a *.c file ( runs in infinite loop ex while(1);)
which I made as daemon using fork , setsid etc
as maintioned in Richard Stevens Book. I want now this to start
automatically when the system boots.

Please help


From: Arun Sharma <adsharma@xxxxxxxxxxxxxxx>
Reply-To: linux-india-programmers@xxxxxxxxxxxxxxxxxxxxx
To: linux-india-programmers@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [LIP] How to start deamons?
Date: Fri, 21 Apr 2000 08:51:44 -0700

On Fri, Apr 21, 2000 at 05:41:56PM +0200, neeta sardesayi wrote:
> Hi All,
>   How to make a process as deamon. I mean it should comeup when
> the system starts. Is that I need to write some stuff to some files?
> Please help

/etc/rc.d/rcX.d/*  for X = 1 to 5


For more information on the LIP mailing list see:

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com