Daemon

Cameron Simpson cs at zip.com.au
Fri Nov 29 07:10:40 UTC 2013


On 29Nov2013 11:26, PV Juliet <pvjuliet at gmail.com> wrote:
>     I have a c program which run as a daemon in linux. Now i want to start
> this program  when the system boots up . Can any one tell me simple script
> which  will run this automatically.

The easy thing to do it to invoke it from the script /etc/rc.local.
Don't forget to background it if the daemon doesn't do it on its own.

Eg:

        /path/to/your/daemon blah blah blah &

Cheers,
-- 
Cameron Simpson <cs at zip.com.au>

The Design View editor of Visual InterDev 6.0 is currently incompatible
with Compatibility Mode, and may not function correctly.
- George Politis <george at research.canon.com.au>, 22apr1999,
  quoting http://msdn.microsoft.com/vstudio/technical/ie5.asp




More information about the redhat-list mailing list