{% for service in service_status %} {{ service.0 }} {% if service.5.0.0|int() >= 1 %} = 1 %} src="/inc/images/shield.png" title="Auto start enabled" {% else %} src="/inc/images/shield-red.png" title="Auto start enabled, but keep alive service does not work" {% endif %} width=18 style="padding-left: 5px; margin-bottom: -3px;"> {% endif %} {% if service.2|int() >= 1 %} UP running {{service.2 }} processes {% else %} DOWN running {{service.2 }} processes {% endif %} {% if role <= 1 %} start start restart {% endif %} {% if role <= 2 %} edit {% endif %} show {% if "ls: cannot access" in service.3 %} Cannot find HAProxy config {% else %} {{ service.3 }} {% endif %} {% endfor %}