From 2bef98a519b4a7635b16e9285ac18797264b2e5d Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Fri, 11 May 2018 04:51:28 +0200 Subject: [PATCH] [enh] add path to service file in service status --- src/yunohost/service.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/yunohost/service.py b/src/yunohost/service.py index b5fd3a9e..e73da343 100644 --- a/src/yunohost/service.py +++ b/src/yunohost/service.py @@ -225,6 +225,7 @@ def service_status(names=[]): "human": datetime.fromtimestamp(status.get("ActiveEnterTimestamp") / 1000000).strftime("%F %X"), }, 'description': str(status.get("Description", "")), + 'service_file_path': str(status.get("FragmentPath", "unknown")), } if len(names) == 1: