diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-07-01 03:34:15 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-07-01 03:34:15 +0200 |
commit | 032ff4afc953cae076ce0ee6a0b85020eeb1a75a (patch) | |
tree | a02edabae64a7b9d52c33b6ee77f40e59ad0fb19 /src/service.c | |
parent | 2419cc5bdb66304adf7be4cf60af91979c5d24d9 (diff) |
unit: shorten active state enums to make systemctl output nicer
Diffstat (limited to 'src/service.c')
-rw-r--r-- | src/service.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service.c b/src/service.c index 3102acc086..d5e681a3f4 100644 --- a/src/service.c +++ b/src/service.c @@ -76,14 +76,14 @@ static const UnitActiveState state_translation_table[_SERVICE_STATE_MAX] = { [SERVICE_START_POST] = UNIT_ACTIVATING, [SERVICE_RUNNING] = UNIT_ACTIVE, [SERVICE_EXITED] = UNIT_ACTIVE, - [SERVICE_RELOAD] = UNIT_ACTIVE_RELOADING, + [SERVICE_RELOAD] = UNIT_RELOADING, [SERVICE_STOP] = UNIT_DEACTIVATING, [SERVICE_STOP_SIGTERM] = UNIT_DEACTIVATING, [SERVICE_STOP_SIGKILL] = UNIT_DEACTIVATING, [SERVICE_STOP_POST] = UNIT_DEACTIVATING, [SERVICE_FINAL_SIGTERM] = UNIT_DEACTIVATING, [SERVICE_FINAL_SIGKILL] = UNIT_DEACTIVATING, - [SERVICE_MAINTENANCE] = UNIT_INACTIVE_MAINTENANCE, + [SERVICE_MAINTENANCE] = UNIT_MAINTENANCE, [SERVICE_AUTO_RESTART] = UNIT_ACTIVATING }; |