mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] add path to service file in service status
This commit is contained in:
parent
0011c4ab56
commit
2bef98a519
1 changed files with 1 additions and 0 deletions
|
@ -225,6 +225,7 @@ def service_status(names=[]):
|
||||||
"human": datetime.fromtimestamp(status.get("ActiveEnterTimestamp") / 1000000).strftime("%F %X"),
|
"human": datetime.fromtimestamp(status.get("ActiveEnterTimestamp") / 1000000).strftime("%F %X"),
|
||||||
},
|
},
|
||||||
'description': str(status.get("Description", "")),
|
'description': str(status.get("Description", "")),
|
||||||
|
'service_file_path': str(status.get("FragmentPath", "unknown")),
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(names) == 1:
|
if len(names) == 1:
|
||||||
|
|
Loading…
Add table
Reference in a new issue