ExecutionPolicyType enum

type: string

Enumerates the execution policy types for services.

Possible values are:

  • Default - Indicates the default execution policy, always restart the service if an exit occurs.
  • RunToCompletion - Indicates that the service will perform its desired operation and complete successfully. If the service encounters failure, it will restarted based on restart policy specified. If the service completes its operation successfully, it will not be restarted again.