Leaving app running with nohup results in "Hangup"

I’m getting a log message

Hangup

in the logs when running meteor for demo purposes. It doesn’t have the timestamp like all other meteor logs. It runs for awhile then quits. I’m running it with the help of nohup via ssh, anyone know the root cause of this?

No, I don’t know. I’m just always using screen (apt-get install screen) for this same purpose (no hanging up when I quit the ssh session) and I never have this kind of problem.

EDIT:
apt-get install screen
screen
(SPACE)
meteor
Ctrl+A, then D (detaches from screen session)
… then later …
screen -x (enters currently open screen session)

Bonus:
Multiple people can share a single screen session, so it can be used as a “ssh/terminal session collaboration/screen-sharing tool”.

1 Like