ControlMethod

The control method to use to restart the service, if you set RestartService to True.

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 in the Controller.

  • Script. Use a Linux script to control services.
  • Process. Use a server process to restart the service.
Actions: UpdateServiceConfig
Type: String
Default: Process
Required: No
Example: ControlMethod=SCM
See Also: RestartService (action parameter)