Updated on 2025-04-29 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

Customized action name displayed in the deployment actions Enter 1 to 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

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 this setting.

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