-typedef enum StartLimitAction {
- SERVICE_START_LIMIT_NONE,
- SERVICE_START_LIMIT_REBOOT,
- SERVICE_START_LIMIT_REBOOT_FORCE,
- SERVICE_START_LIMIT_REBOOT_IMMEDIATE,
- _SERVICE_START_LIMIT_MAX,
- _SERVICE_START_LIMIT_INVALID = -1
-} StartLimitAction;
+typedef enum FailureAction {
+ SERVICE_FAILURE_ACTION_NONE,
+ SERVICE_FAILURE_ACTION_REBOOT,
+ SERVICE_FAILURE_ACTION_REBOOT_FORCE,
+ SERVICE_FAILURE_ACTION_REBOOT_IMMEDIATE,
+ _SERVICE_FAILURE_ACTION_MAX,
+ _SERVICE_FAILURE_ACTION_INVALID = -1
+} FailureAction;