Open topic with navigation

# UpdateServiceConfig

The `UpdateServiceConfig` action updates the configuration file for a service. You can also optionally restart the service to make the new configuration active.

## Parameters

Parameter | Description | Required
--- | --- | ---
ConfigData | Data in `multipart/form-data` format sent as part of the action that contains the new configuration to use. |
ConfigFileName | The path to a file name on the target machine that contains the new configuration file to use. |
ControlMethod | The control method to use to restart the service. |
OldCheckSum | The checksum of the previous version of the configuration file. | Yes
Port | The action port of the service whose configuration file you want to update. | Yes
RestartService | Whether to stop the service before updating the configuration file, and then restart it. |

## Comments

You must specify one of `ConfigData` or `ConfigFileName`.

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

© 2015-2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm