Skip to content
Snippets Groups Projects
Commit 79417e07 authored by Thomas Sarboni's avatar Thomas Sarboni Committed by Matthew Mosesohn
Browse files

Fix systemd service unit for docker >= 17.03 (#1844)

parent 626b35e1
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ Environment=GOTRACEBACK=crash ...@@ -18,7 +18,7 @@ Environment=GOTRACEBACK=crash
ExecReload=/bin/kill -s HUP $MAINPID ExecReload=/bin/kill -s HUP $MAINPID
Delegate=yes Delegate=yes
KillMode=process KillMode=process
ExecStart={{ docker_bin_dir }}/docker daemon \ ExecStart={{ docker_bin_dir }}/docker{% if docker_version.stdout|version_compare('17.03', '<') %} daemon{% else %}d{% endif %} \
$DOCKER_OPTS \ $DOCKER_OPTS \
$DOCKER_STORAGE_OPTIONS \ $DOCKER_STORAGE_OPTIONS \
$DOCKER_NETWORK_OPTIONS \ $DOCKER_NETWORK_OPTIONS \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment