Open topic with navigation

# ControlMethod

The control method to use to add, edit, 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 add, edit, 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)

© 2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus 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 swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm