EditServiceInfo

The EditServiceInfo action enables you to update the parameters of a service that you specified using the AddService action. You must specify the port number of the service that you want to edit.

Example

a=EditServiceInfo&Port=9000&ControlMethod=Process

This action edits the control method information for the service that runs on port 9000.

Required Parameters

The following action parameters are required.

Parameter Description
Port The port number of the service.

Optional Parameters

This action accepts the following optional parameters.

Parameter Description
ConfigPath The path to the configuration file of the service that you want to edit.
ControlMethod The control method to use.
ExecPath The full path of the executable file for the service that you want to edit.
InitScriptPath The path to the script to use to control the service.
Labels Any labels to associate with the service.
Name The name for the service that you want to edit.
SCMServiceName The name of the Windows service, if applicable.
Type The particular type of component.

Comments

You can also submit this action from Coordinator by specifying the ControllerUUID parameter. For more information, refer to the Coordinator Reference.

See Also