diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2018-05-17 17:42:14 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2018-05-22 12:19:22 -0500 |
commit | 4e0eace837287845504c9895429dc9f64872d075 (patch) | |
tree | afcce0bb062aff342bff2658a0a1dd53ef91c923 /src/librc | |
parent | faa8318b3ba278544413a39d4a5ae4457711793f (diff) |
librc: Add crashed state
Diffstat (limited to 'src/librc')
-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 |