当前位置:网站首页>nodejs服务后台执行(forever)
nodejs服务后台执行(forever)
2022-07-26 09:23:00 【为天空着色】
用nodejs创建一个服务器,当用户断开客户链接,服务也就停止了。
网上说用forever管理比较好,记录下使用:
1、安装
#npm install forever -g
2、启动
#forever start index.js
3、查看列表
#forever list
4、停止
#forever stop pid
5、输出日志和错误
#forever start -l forever.log -o out.log -e err.log index.js
边栏推荐
- 大二上第二周学习笔记
- Order based evaluation index (especially for recommendation system and multi label learning)
- Announcement | FISCO bcos v3.0-rc4 is released, and the new Max version can support massive transactions on the chain
- [MySQL] detailed explanation of MySQL lock (III)
- What is asynchronous operation
- Innovus is stuck, prompting x error:
- 2B and 2C
- 原根与NTT 五千字详解
- Codeworks DP collection
- Processing of inconsistent week values obtained by PHP and MySQL
猜你喜欢

Voice chat app source code - Nath live broadcast system source code

神经网络与深度学习-6- 支持向量机1 -PyTorch

Li Mu D2L (IV) -- softmax regression

arc-gis的基本使用2

NTT(快速数论变换)多项式求逆 一千五百字解析

NTT (fast number theory transformation) polynomial inverse 1500 word analysis

C# Serialport的发送和接收

Advanced mathematics | Takeshi's "classic series" daily question train of thought and summary of error prone points

tabbarController的使用

Canal 的学习笔记
随机推荐
Byte buffer stream & character stream explanation
Conditions for JVM to trigger minor GC
756. 蛇形矩阵
arc-gis的基本使用2
微信小程序学习笔记1
微信小程序学习笔记2
大二上第三周学习笔记
TableviewCell高度自适应
Summary of common activation functions for deep learning
Advanced mathematics | Takeshi's "classic series" daily question train of thought and summary of error prone points
Custom password input box, no rounded corners
解决“NOTE: One or more layouts are missing the layout_width or layout_height attributes.”
Pat grade a A1034 head of a gang
2022 mobile crane driver test question simulation test question bank simulation test platform operation
I'm faded
OnTap 9 file system limitations
The essence of attack and defense strategy behind the noun of network security
Object 的Wait Notify NotifyAll 源码解析
Stm32+mfrc522 completes IC card number reading, password modification, data reading and writing
2022 chemical automation control instrument operation certificate test question simulation test platform operation