Enum ServiceRestartCondition
Enumerates the service restart conditions.
Namespace: Neon.Docker
Assembly: Neon.Docker.dll
Syntax
public enum ServiceRestartCondition
Fields
Name | Description |
---|---|
Any | Restart whenever a service task exits for any reason. |
None | Never restart. |
OnFailure | Restart only when a service task returns a non zero exit code. |