DEgITx / rats-search

BitTorrent P2P multi-platform search engine for Desktop and Web servers with integrated torrent client.
MIT License
1.6k stars 174 forks source link

How to keep the background running #139

Open RickHunterS opened 3 years ago

RickHunterS commented 3 years ago

Hello, please, I have completed the installation and can visit the magnetic search website on my personal server, but if I close the terminal on the server background, then the website service will be shut down, so how can I keep the website running in the background Thank you for your help

RickHunterS commented 3 years ago

I mean, I need to keep my computer on the Internet. If I disconnect from the server or close the server terminal, the website will be shut down. I need to run the following code again to restart the website. Is there any plan to keep the website running all the time cd rats-search npm run buildweb npm run server

DEgITx commented 3 years ago

you need to daemonize process, look for example to "pm2"

pm2 start src/server.js or something like this

RickHunterS commented 3 years ago

I'm sorry I didn't understand your meaning. How can I do it? It's my first contact with these