{% extends "base.html" %} {% import "_macros.html" as m with context %} {% block title %}Services{% endblock %} {% block content %}
The windows of the building: each lit window is a running service. Restart one after changing its files by hand.
| Service | State | |
|---|---|---|
| {{ s.label }}{{ s.unit }} | {{ m.state_window(s.active) }} | {% for action, label in [("restart", "Restart"), ("start", "Start")] if (action == "restart" and s.active == "active") or (action == "start" and s.active != "active") %} {% endfor %} {% if s.active == "active" and s.unit not in ("ssh", "panelcp-web") %} {% endif %} |