0

I cloned a Git repository and I'm trying to run it with npm start.

This only works until I quit the terminal.

How do I get it to run, even after I quit the terminal?

I am using NGINX with Ubuntu 20.04, it runs on http://localhost:3000 but I have a proxy set up with my own example.com pointing to that.

How can I keep it running continuously, so that even if I shut down the server and reboot it starts up again, similar to systemd.

0

1 Answer 1

1

You can create a process. interrupt it. send it background. then detach it. How to detach process from terminal

you can also create a service to run npm start on boot

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.