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

pull/2043/head
Thomas Sarboni 2017-12-08 14:12:45 +01:00 committed by Matthew Mosesohn
parent 626b35e1b0
commit 79417e07ca
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ Environment=GOTRACEBACK=crash
ExecReload=/bin/kill -s HUP $MAINPID
Delegate=yes
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_STORAGE_OPTIONS \
$DOCKER_NETWORK_OPTIONS \