Re: Daemon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 29Nov2013 11:26, PV Juliet <pvjuliet@xxxxxxxxx> 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@xxxxxxxxxx>

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

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux