We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2641e0d commit 18280f6Copy full SHA for 18280f6
templates/unit.j2
@@ -34,7 +34,7 @@ ExecStart={{ docker_path }} run \
34
{{ params('--device', container_devices) }}\
35
{% if container_privileged == true %}--privileged{% endif %}\
36
{{ container_args | trim }} \
37
- {{ container_image }} {% if container_cmd is string %}{{ container_cmd | default('') | trim }}{% else %}{{ container_cmd | join(' ') }}{% endif %}
+ {{ container_image }} {% if container_cmd is string %}{{ container_cmd | trim }}{% else %}{{ container_cmd | join(' ') | trim }}{% endif %}
38
{% endif %}
39
{% if not 'ExecStop' in service_systemd_options_keys %}
40
ExecStop=/usr/bin/docker stop {{ container_name }}
0 commit comments