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