如何开机就启动node.js程序
代码如下:
定位到安装目录,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
原文链接:https://www.f2er.com/js/53645.htmlprompt: Service name: [name of your service]
prompt: Node script path: [path of your node script]
Service stopped
Service uninstalled