Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to keep the background running #139

Open
RickHunterS opened this issue Mar 20, 2021 · 3 comments
Open

How to keep the background running #139

RickHunterS opened this issue Mar 20, 2021 · 3 comments
Labels
question Further information is requested

Comments

@RickHunterS
Copy link

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
Copy link
Author

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
Copy link
Owner

DEgITx commented Mar 20, 2021

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

pm2 start src/server.js
or something like this

@DEgITx DEgITx added the question Further information is requested label Mar 20, 2021
@RickHunterS
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants