From 9e59c74c24837436a8b03dab224ef30f3e40bbfd Mon Sep 17 00:00:00 2001 From: Chris Bell Date: Wed, 22 Jun 2016 09:51:49 -0400 Subject: [PATCH] Maintain backwards compatibility with EL6 --- roles/network_plugin/calico/templates/systemd-docker.service | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/network_plugin/calico/templates/systemd-docker.service b/roles/network_plugin/calico/templates/systemd-docker.service index 3d019c7a3..01383d772 100644 --- a/roles/network_plugin/calico/templates/systemd-docker.service +++ b/roles/network_plugin/calico/templates/systemd-docker.service @@ -13,8 +13,9 @@ Requires=docker.socket Type=notify {% if ansible_os_family == "RedHat" %} EnvironmentFile=-/etc/default/docker -EnvironmentFile=-/etc/default/docker-network -EnvironmentFile=-/etc/docker/docker-storage +EnvironmentFile=-/etc/sysconfig/docker +EnvironmentFile=-/etc/sysconfig/docker-network +EnvironmentFile=-/etc/sysconfig/docker-storage {% elif ansible_os_family == "Debian" %} EnvironmentFile=-/etc/default/docker {% endif %}