From 1b774527d87ac8a3bafd10a0e6a982adf59f6fc4 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Fri, 11 May 2018 04:49:43 +0200 Subject: [PATCH] [enh] get active status of service --- src/yunohost/service.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/yunohost/service.py b/src/yunohost/service.py index fed7ff3be..31ed54a5d 100644 --- a/src/yunohost/service.py +++ b/src/yunohost/service.py @@ -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", "")), }