SSH: How to start a process that won't end after system reboot?

Is there a way to do this so when I reboot my linux server the process will reopen on startup?


Usually, you need to add a startup script in /etc/rc.d/ or /etc/rc.local. Thats how all daemons are started. However you need to have root permissions for this.

Since you tagged it as ssh, I guess you don't have root permissions. So you can create a crontab entry that runs a script to launch your process after every reboot:

$ crontab -e

Add the following line in the file that opens up:

@reboot  /path/to/your_script.sh