user3561247 user3561247 - 1 month ago 21
Linux Question

launch program on boot (debian server)

Path to folder: root/CumulusServer

Command to execute: ./CumulusServer --daemon [--pidfile=/var/run/CumulusServer.pid]

I've spent considerable time trying to figure out how to modify init.d? Any help would be appreciated in resolving this issue.

Answer

Most likely you'd like to add it in /etc/rc.local like that:

cd /root/CumulusServer && ./CumulusServer --daemon