Controller 12.12

# UpdateServiceConfig

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

## Required Parameters

The following action parameters are required.

Parameter | Description
--- | ---
OldCheckSum | The checksum of the previous version of the configuration file.
Port | The action port of the service whose configuration file you want to update.

## Optional Parameters

This action accepts the following optional parameters.

Parameter | Description
--- | ---
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.
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 Coordinator by specifying the `ControllerUUID` parameter. For more information, refer to the Coordinator Reference.

© Copyright 2015-2022 Micro Focus or one of its affiliates
Version 12.12 | Last updated June 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Controller 12.12

Topic Title: UpdateServiceConfig