mirror of
https://github.com/dredx/prole.git
synced 2026-09-27 08:04:30 +00:00
13 lines
632 B
Django/Jinja
13 lines
632 B
Django/Jinja
[Service]
|
|
{% if k3s_systemd_timeout_start_sec is defined and (k3s_systemd_timeout_start_sec | string | length) > 0 %}
|
|
TimeoutStartSec={{ k3s_systemd_timeout_start_sec }}
|
|
{% endif %}
|
|
{% if k3s_systemd_timeout_stop_sec is defined and (k3s_systemd_timeout_stop_sec | string | length) > 0 %}
|
|
TimeoutStopSec={{ k3s_systemd_timeout_stop_sec }}
|
|
{% endif %}
|
|
{% if k3s_systemd_restart is defined and (k3s_systemd_restart | string | length) > 0 %}
|
|
Restart={{ k3s_systemd_restart }}
|
|
{% endif %}
|
|
{% if k3s_systemd_restart_sec is defined and (k3s_systemd_restart_sec | string | length) > 0 %}
|
|
RestartSec={{ k3s_systemd_restart_sec }}
|
|
{% endif %} |