diff options
-rw-r--r-- | src/librc/librc.c | 1 | ||||
-rw-r--r-- | src/librc/rc.h.in | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/librc/librc.c b/src/librc/librc.c index ee65b00a..4473a1bb 100644 --- a/src/librc/librc.c +++ b/src/librc/librc.c @@ -50,6 +50,7 @@ static const rc_service_state_name_t rc_service_state_names[] = { { RC_SERVICE_HOTPLUGGED, "hotplugged" }, { RC_SERVICE_FAILED, "failed" }, { RC_SERVICE_SCHEDULED, "scheduled"}, + { RC_SERVICE_CRASHED, "crashed"}, { 0, NULL} }; diff --git a/src/librc/rc.h.in b/src/librc/rc.h.in index 1f984d52..d2e51dc6 100644 --- a/src/librc/rc.h.in +++ b/src/librc/rc.h.in @@ -188,7 +188,8 @@ typedef enum /* Optional states service could also be in */ RC_SERVICE_FAILED = 0x0200, RC_SERVICE_SCHEDULED = 0x0400, - RC_SERVICE_WASINACTIVE = 0x0800 + RC_SERVICE_WASINACTIVE = 0x0800, + RC_SERVICE_CRASHED = 0x1000, } RC_SERVICE; /*! Add the service to the runlevel |