diff --git a/template/debian.rst.j2 b/template/debian.rst.j2 index 8d84215..fac790b 100644 --- a/template/debian.rst.j2 +++ b/template/debian.rst.j2 @@ -18,5 +18,5 @@ services ================================================== ==================== ============== service state description ================================================== ==================== =============={% for svc in services %} -{{ "{:<50}".format(svc["unit"][:49]) }} {{ "{:<20}".format(svc["sub"].replace("running",":green:`running`")) }} {{ svc["description"] }}{% endfor %} +{{ "{:<50}".format(svc["unit"][:49]) }} {{ "{:<20}".format(svc["sub"].replace("running",":green:`running`").replace("failed", ":red:`failed`")) }} {{ svc["description"] }}{% endfor %} ================================================== ==================== ==============