Skip to content

Commit 18280f6

Browse files
Update templates/unit.j2
Co-authored-by: Manuel Hutter <[email protected]>
1 parent 2641e0d commit 18280f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/unit.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ExecStart={{ docker_path }} run \
3434
{{ params('--device', container_devices) }}\
3535
{% if container_privileged == true %}--privileged{% endif %}\
3636
{{ container_args | trim }} \
37-
{{ container_image }} {% if container_cmd is string %}{{ container_cmd | default('') | trim }}{% else %}{{ container_cmd | join(' ') }}{% endif %}
37+
{{ container_image }} {% if container_cmd is string %}{{ container_cmd | trim }}{% else %}{{ container_cmd | join(' ') | trim }}{% endif %}
3838
{% endif %}
3939
{% if not 'ExecStop' in service_systemd_options_keys %}
4040
ExecStop=/usr/bin/docker stop {{ container_name }}

0 commit comments

Comments
 (0)