pm2, nohop and forever don't keep app running after close ssh screen or putty

pm2, nohop and forever don't keep app running after close ssh screen or putty in linode server this is totally unfair by linode

2 Replies

Linode doesn't touch your OS, there's nothing "unfair" about it. What command are you using?

pm2 has a command to create a systemd service file to run your app in the background and automatically on boot:

http://pm2.keymetrics.io/docs/usage/startup/

Hope that helps!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct