Is there a simple way to daemon-ify a simple task?

Posted by Jonas Byström on Server Fault See other posts from Server Fault or by Jonas Byström
Published on 2010-03-24T12:25:02Z Indexed on 2010/03/24 12:33 UTC
Read the original article Hit count: 273

Filed under:
|
|

I ssh into a server than start a job (for instance rsync), then I just want to be able to log out from the server and let the job run its course. But if I just do rsync ... & I think it's still connected to the tty in some way, and that the job dies when the tty goes away when logging out. Is there any (easy) way to disconnect the process from the tty to be able to log out without the process terminating?

© Server Fault or respective owner

Related posts about daemon

Related posts about background-process