Home  >  Article  >  Web Front-end  >  How to make linux run node service instructions in the background

How to make linux run node service instructions in the background

php中世界最好的语言
php中世界最好的语言Original
2018-05-24 09:27:541138browse

This time I bring to you, what are the precautions, the following is a practical case, let's take a look.

When starting the node service, it is found that after node servier.js starts running, once the connection is disconnected, the service will stop.

Use nohup node servier.js & You can let the code run in the background, exit commandExitCommand line

I believe you have mastered the method after reading the case in this article. For more exciting things, please pay attention to php Chinese NetOther related articles!

Recommended reading:

How to use JS to implement a hash table

##JS CSS3 to make image binding mouse move event amplification

How to use JS to implement Baidu search box

Vue nested routing and 404 redirect implementation method analysis_vue.js


The above is the detailed content of How to make linux run node service instructions in the background. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn