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.
a=EditServiceInfo&Port=9000&ControlMethod=Process
This action edits the control method information for the service that runs on port 9000.
Parameter | Description | Required |
---|---|---|
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. |
|
Port | The port number of the service. | Yes |
SCMServiceName |
The name of the Windows service, if applicable. |
|
Type |
The particular type of component. |
You can also submit this action from HPE Coordinator by specifying the ControllerUUID
parameter. For more information, refer to the HPE Coordinator Reference.
|