Updated on 2024-09-04 GMT+08:00

Starting or Stopping Node.js

This action aims to start or stop the Node.js service in a specified path in a host. The following figure shows the configuration.

Table 1 Parameters

Parameter

Description

Action Name

Name of an added deployment action. Max 128 characters. Do not start or end with a space. Use letters, digits, spaces, and these special characters: -_,;:./().

Environment

Select a host cluster as the deployment object.

Operation

Start and Stop are available.

Absolute Path

Absolute path of the Node.js service.

Command Parameters

Optional.

  • Node.js running parameters, that is, application parameters.
  • If you choose Start for Operation, you can configure parameters, such as the listening port of Node.js to start Node.js.

Control Options

  • Enable this action.
  • Continue the task even if this action fails.
  • Execute this action with the sudo permission.

If you encounter any problem during deployment, see Solutions to Common Problems.