0
votes
2answers
3k views

Auto Start MySQL and Apache

How does one get certain daemons to automatically startup on a restart of the server? I found this post on Server Fault but I am looking of a more in depth explanation of how getting a daemon to auto ...
5
votes
2answers
3k views

How to run a C program as a daemon?

I have a C program which I want to run as a daemon. How do I install it so it will run as a daemon on CentOS? Someone said to use @reboot, and some said to put it in /etc/rc.d/rc.local. Which is the ...