[enh] add path to service file in service status

This commit is contained in:
Laurent Peuch 2018-05-11 04:51:28 +02:00
parent 0011c4ab56
commit 2bef98a519

View file

@ -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: