Posted in Javascript onJune 25, 2015
如何开机就启动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
把Node.js程序加入服务实现随机启动
- Author -
junjie声明:登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。
Reply on: @reply_date@
@reply_contents@