mirror of
https://github.com/PyratLabs/ansible-role-k3s.git
synced 2025-01-10 19:47:56 +01:00
Updated service unit template for neater output
This commit is contained in:
parent
d81d41e709
commit
2b8f354a88
@ -7,6 +7,7 @@ After=network.target
|
||||
Type={{ 'notify' if k3s_control_node else 'exec' }}
|
||||
ExecStartPre=-/sbin/modprobe br_netfilter
|
||||
ExecStartPre=-/sbin/modprobe overlay
|
||||
{% filter regex_replace('\s+', ' ') %}
|
||||
{% filter replace('\n', ' ') %}
|
||||
ExecStart={{ k3s_install_dir }}/k3s
|
||||
{% if k3s_control_node %}
|
||||
@ -78,6 +79,7 @@ ExecStart={{ k3s_install_dir }}/k3s
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfilter %}
|
||||
{% endfilter %}
|
||||
|
||||
KillMode=process
|
||||
Delegate=yes
|
||||
|
Loading…
Reference in New Issue
Block a user