load daemon at startup


New Member
I have 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?


Maybe? I don't recall the exact format, but I do remember you need a dot to execute the file. Maybe it's