mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-26 21:45:20 +02:00
16 lines
512 B
Django/Jinja
16 lines
512 B
Django/Jinja
[Unit]
|
|
Description={{ SOFTWARE_NAME }} - Service for role '{{ system_service_id }}'
|
|
{% if system_service_tpl_on_failure |length > 0 %}
|
|
OnFailure={{ system_service_tpl_on_failure }}
|
|
{% endif %}
|
|
|
|
[Service]
|
|
Type={{ system_service_tpl_type }}
|
|
{% if system_service_tpl_exec_start_pre |length > 0 %}
|
|
ExecStartPre={{ system_service_tpl_exec_start_pre }}
|
|
{% endif %}
|
|
ExecStart={{ system_service_tpl_exec_start }}
|
|
{% if system_service_tpl_runtime |length > 0 %}
|
|
RuntimeMaxSec={{ system_service_tpl_runtime }}
|
|
{% endif %}
|