Files
Alexander Gorelyshev 14e6bf12fd Migrate the users role
2025-12-18 13:34:32 +04:00

13 lines
272 B
Django/Jinja

[Slice]
{% if memory_max is defined and memory_max != "" %}
MemoryAccounting=1
MemoryMax={{ memory_max }}
MemorySwapMax={{ swap_max }}
{% else %}
{% endif %}
{% if cpu_quota is defined and cpu_quota != "" %}
CPUAccounting=1
CPUQuota={{ cpu_quota }}
{% else %}
{% endif %}