如何开机就启动node.js程序
复制代码 代码如下:
npm install -g qckwinsvc
定位到安装目录,node_modules/.bin/
运行如下命令:
复制代码 代码如下:
> qckwinsvc
prompt: Service name: [name for your service]
prompt: Service description: [description for it]
prompt: Node script path: [path of your node script]
Service installed
卸载:
复制代码 代码如下:
> qckwinsvc --uninstall
prompt: Service name: [name of your service]
prompt: Node script path: [path of your node script]
Service stopped
Service uninstalled
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件!
如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
桃源资源网 Design By www.nqtax.com
暂无“把Node.js程序加入服务实现随机启动”评论...