Add the Node. js program to the service for random startup

Source: Internet
Author: User

Add the Node. js program to the service for random startup

This article mainly introduces how to add the Node. js program to the Service to achieve random start. This article uses qckwinsvc to achieve this requirement and explains how to install and use qckwinsvc. For more information, see

How to start the node. js program upon startup

The Code is as follows:

Npm install-g qckwinsvc

Go to the installation directory, node_modules/. bin/

Run the following command:

The Code is as follows:

> 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:

The Code is as follows:

> Qckwinsvc -- uninstall

Prompt: Service name: [name of your service]

Prompt: Node script path: [path of your node script]

Service stopped

Service uninstalled

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.