Updated on 2023-11-28 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 action displayed in the deployment actions area.

Environment

Target environment.

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.