Fix systemd service unit for docker >= 17.03 (#1844)
This commit is contained in:
parent
626b35e1b0
commit
79417e07ca
1 changed files with 1 additions and 1 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue