Home >Web Front-end >JS Tutorial >Add the Node.js program to the service to achieve random startup_node.js
How to start the node.js program at boot
Run the following command:
prompt: Service name: [name for your service]
prompt: Service description: [description for it]
prompt: Node script path: [path of your node script]
Service installed
prompt: Service name: [name of your service]
prompt: Node script path: [path of your node script]
Service stopped
Service uninstalled