Controller 12.12

# ControlMethod

The control method to use to start, restart, or stop the service.

You can use one of the following values:

- `SCM`. Use Windows services to control services.

  If you use the `SCM` control method, you must set the SCMServiceName parameter.

- `Script`. Use a Linux script to control services. The Controller server uses the script that you specified in the parameter for the AddService or EditServiceInfo actions.
- `Process`. Use a server process to start, restart, or stop the service.

NOTE: For the `UpdateServiceConfig` action, you need to set the `ControlMethod` parameter only when you set `RestartService` to `True`.

Actions: | AddService, EditServiceInfo, RestartService, StartService, StopService, UpdateServiceConfig
Type: | String
Default: | `Process`
Required: | No
Example: | `ControlMethod=SCM`
See Also: | InitScriptPath RestartService (action parameter)

© 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: ControlMethod