Updated on 2025-08-13 GMT+08:00

Starting or Stopping the Go service

This action aims to start or stop a service in a specified path.

Table 1 Parameters

Parameter

Description

Action Name

Custom action name. Enter 1 to 128 characters. Do not start or end with a space. Use letters, digits, spaces, and these special characters: -_,;:./()

Environment

Deployment object. Select an environment whose resource type is host cluster.

Operation

Start and Stop are available.

Absolute Path

Installation path of Go.

Waiting Time

Time for waiting for the service to start. If you choose to start the service, the system checks the process during the startup to determine whether the service is started successfully. You can adjust the time based on the actual time required for starting the service. If the time is improper, the detection fails.

Action Control

You can configure whether to enable the settings.

  • Keep running on failure: Continue the task even if this action fails.
  • Execute this action with the sudo permission: Use the sudo permission to deploy this action.

If you encounter any problems during deployment, see Starting/Stopping Go Service.