U
U
urajo2019-09-28 14:51:23
Node.js
urajo, 2019-09-28 14:51:23

How to make the node work on the VPS even when the terminal is closed?

The script is uploaded to the VPS, I run it, exit the terminal and the site immediately crashes.
How to make it so that it does not fall, but continues to work?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
abberati, 2019-09-28
@abberati

Google pm2 or forever

A
Andrey Gavrilov, 2019-09-29
@thexaver

screen

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question