librc: Add crashed state
This commit is contained in:
parent
faa8318b3b
commit
4e0eace837
@ -50,6 +50,7 @@ static const rc_service_state_name_t rc_service_state_names[] = {
|
|||||||
{ RC_SERVICE_HOTPLUGGED, "hotplugged" },
|
{ RC_SERVICE_HOTPLUGGED, "hotplugged" },
|
||||||
{ RC_SERVICE_FAILED, "failed" },
|
{ RC_SERVICE_FAILED, "failed" },
|
||||||
{ RC_SERVICE_SCHEDULED, "scheduled"},
|
{ RC_SERVICE_SCHEDULED, "scheduled"},
|
||||||
|
{ RC_SERVICE_CRASHED, "crashed"},
|
||||||
{ 0, NULL}
|
{ 0, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -188,7 +188,8 @@ typedef enum
|
|||||||
/* Optional states service could also be in */
|
/* Optional states service could also be in */
|
||||||
RC_SERVICE_FAILED = 0x0200,
|
RC_SERVICE_FAILED = 0x0200,
|
||||||
RC_SERVICE_SCHEDULED = 0x0400,
|
RC_SERVICE_SCHEDULED = 0x0400,
|
||||||
RC_SERVICE_WASINACTIVE = 0x0800
|
RC_SERVICE_WASINACTIVE = 0x0800,
|
||||||
|
RC_SERVICE_CRASHED = 0x1000,
|
||||||
} RC_SERVICE;
|
} RC_SERVICE;
|
||||||
|
|
||||||
/*! Add the service to the runlevel
|
/*! Add the service to the runlevel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user