Maintain backwards compatibility with EL6

pull/308/head
Chris Bell 2016-06-22 09:51:49 -04:00 committed by GitHub
parent d94253ff6a
commit 9e59c74c24
1 changed files with 3 additions and 2 deletions

View File

@ -13,8 +13,9 @@ Requires=docker.socket
Type=notify Type=notify
{% if ansible_os_family == "RedHat" %} {% if ansible_os_family == "RedHat" %}
EnvironmentFile=-/etc/default/docker EnvironmentFile=-/etc/default/docker
EnvironmentFile=-/etc/default/docker-network EnvironmentFile=-/etc/sysconfig/docker
EnvironmentFile=-/etc/docker/docker-storage EnvironmentFile=-/etc/sysconfig/docker-network
EnvironmentFile=-/etc/sysconfig/docker-storage
{% elif ansible_os_family == "Debian" %} {% elif ansible_os_family == "Debian" %}
EnvironmentFile=-/etc/default/docker EnvironmentFile=-/etc/default/docker
{% endif %} {% endif %}