mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] display service description on status
This commit is contained in:
parent
f4df8c8ec8
commit
07139e7bc1
1 changed files with 1 additions and 0 deletions
|
@ -218,6 +218,7 @@ def service_status(names=[]):
|
||||||
result[name] = {
|
result[name] = {
|
||||||
'status': str(status.get("SubState", "unknown")),
|
'status': str(status.get("SubState", "unknown")),
|
||||||
'loaded': str(status.get("LoadState", "unknown")),
|
'loaded': str(status.get("LoadState", "unknown")),
|
||||||
|
'description': str(status.get("Description", "")),
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(names) == 1:
|
if len(names) == 1:
|
||||||
|
|
Loading…
Add table
Reference in a new issue