Possible Duplicate:
Keep SSH Sessions running after disconnection.
I have a process which is basically a web-server, I start it during an SSH session. However, when I leave the session (by closing the PuTTY windows), it stops running and responding to requests. This is true even if I end the command with a &
. With Apache, I don't have this problem, it comes with a stop, a start, and a restart script. I'd like to create something like that for this program.
How can I start a process, so that it will continue running even after I end the SSH session I started it in? Also how can I set it to restart itself if it stops for some reason?
Thanks!