colorise services
Some checks failed
/ test (push) Failing after 11s

This commit is contained in:
Michaël Ricart 2025-02-17 13:18:14 +01:00
parent 9a47864ba0
commit 161865af19
4 changed files with 109 additions and 1 deletions

View file

@ -18,5 +18,5 @@ services
================================================== ======= ==============
service state description
================================================== ======= =============={% for svc in services %}
{{ "{:<50}".format(svc["unit"][:49]) }} {{ "{:<7}".format(svc["sub"]) }} {{ svc["description"] }}{% endfor %}
{{ "{:<50}".format(svc["unit"][:49]) }} {{ "{:<7}".format(svc["sub"].replace("running",":green:`running`)) }} {{ svc["description"] }}{% endfor %}
================================================== ======= ==============