start a daemon script at startup
I have a centos webserver, with a chat program that uses a complied c daemon. I have to start it by hand every time i reboot by going to the path
and then typing ./daemon
thats all, no config or additional params necessary.
I want this daemon script to start automatically at server startup, but I can't figure out how. Ive added the following line to rc.local but it doesn't work
so what am I doing wrong, and how can i get it to load at startup?