Add the ES0en. js program to the service for random startup
- 2020-06-19 09:50:20
- OfStack
How to boot on start ES1en. js program
npm install -g qckwinsvc
Navigate to the installation directory, node_modules/.bin /
Run the following command:
> 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
Uninstall:
> qckwinsvc --uninstall
prompt: Service name: [name of your service]
prompt: Node script path: [path of your node script]
Service stopped
Service uninstalled