如何开机就启动node.js程序
npm install -g qckwinsvc
运行如下命令:
> qckwinsvcprompt: Service name: [name for your service]
prompt: Service description: [description for it]
prompt: Node script path: [path of your node script]
Service installed
> qckwinsvc --uninstallprompt: Service name: [name of your service]
prompt: Node script path: [path of your node script]
Service stopped
Service uninstalled