当前位置:网站首页>Nodejs service background execution (forever)
Nodejs service background execution (forever)
2022-07-26 09:47:00 【Color the sky】
use nodejs Create a server , When the user disconnects the customer link , The service stops .
Online speaking forever Good management , Record the use of :
1、 install
#npm install forever -g
2、 start-up
#forever start index.js
3、 view list
#forever list
4、 stop it
#forever stop pid
5、 Output logs and errors
#forever start -l forever.log -o out.log -e err.log index.js
边栏推荐
- 学习笔记之常用数组api 改变原数组和不改变原数组的有哪些?
- Learning notes: what are the common array APIs that change the original array or do not change the original array?
- 反射机制的原理是什么?
- matlab中的AR模型短时预测交通流
- JS 一行代码 获取数组最大值与最小值
- V-for dynamically sets the SRC of img
- 配置ADCS后访问certsrv的问题
- 图解用户登录验证流程,写得太好了!
- Network flow learning notes
- Fiddler packet capturing tool for mobile packet capturing
猜你喜欢
R language ggplot2 visualization: align the legend title to the middle of the legend box in ggplot2 (default left alignment, align legend title to middle of legend)
在Blazor 中自定义权限验证
The diagram of user login verification process is well written!
Source code analysis of object wait notify notifyAll
【Datawhale】【机器学习】糖尿病遗传风险检测挑战赛
Alibaba cloud technology expert haochendong: cloud observability - problem discovery and positioning practice
matlab中的AR模型短时预测交通流
Due to fierce competition in the new market, China Mobile was forced to launch a restrictive ultra-low price 5g package
matlab simulink实现模糊pid对中央空调时延温度控制系统控制
解决npm -v突然失效 无反应
随机推荐
C managed and unmanaged
Node 内存溢出及V8垃圾回收机制
图解用户登录验证流程,写得太好了!
Global variables in DLL
A new paradigm of distributed deep learning programming: Global tensor
Interview shock 68: why does TCP need three handshakes?
2021年山东省中职组“网络空间安全”B模块windows渗透(解析)
编写一个在bash / shell 和 PowerShell中均可运行的脚本
Search module use case writing
高斯消元的应用
Drawing shadow error diagram with MATLAB
JS judge the data types object.prototype.tostring.call and typeof
Solve proxyerror: CONDA cannot proceed due to an error in your proxy configuration
B站这个视频我是跪着看完的
2019 ICPC Asia Yinchuan Regional(水题题解)
开发转测试:从0开始的6年自动化之路...
Double authentication of server and client
Azkaban【基础知识 01】核心概念+特点+Web界面+架构+Job类型(一篇即可入门Azkaban工作流调度系统)
Sqoop【环境搭建 01】CentOS Linux release 7.5 安装配置 sqoop-1.4.7 解决警告并验证(附Sqoop1+Sqoop2最新版安装包+MySQL驱动包资源)
2019 ICPC Asia Yinchuan regional (water problem solution)