summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-04-25 10:39:21 -0400
committerGitHub <noreply@github.com>2017-04-25 10:39:21 -0400
commitd6e696b4f7905e2b7961e10fe8e6448988717dea (patch)
tree628a250d47dd3a6c3577e6a92f31417bf14b77d1
parente19f6d832e7c60c0944fa511d3ef233631c8ecab (diff)
downloadopenshift-d6e696b4f7905e2b7961e10fe8e6448988717dea.tar.gz
openshift-d6e696b4f7905e2b7961e10fe8e6448988717dea.tar.bz2
openshift-d6e696b4f7905e2b7961e10fe8e6448988717dea.tar.xz
openshift-d6e696b4f7905e2b7961e10fe8e6448988717dea.zip
Revert "Add /etc/sysconfig/etcd to etcd_container"
-rw-r--r--roles/etcd/templates/etcd.docker.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/etcd/templates/etcd.docker.service b/roles/etcd/templates/etcd.docker.service
index e4d1b57e6..ae059b549 100644
--- a/roles/etcd/templates/etcd.docker.service
+++ b/roles/etcd/templates/etcd.docker.service
@@ -7,7 +7,7 @@ PartOf=docker.service
[Service]
EnvironmentFile=/etc/etcd/etcd.conf
ExecStartPre=-/usr/bin/docker rm -f {{ etcd_service }}
-ExecStart=/usr/bin/docker run --name {{ etcd_service }} --rm -v /var/lib/etcd:/var/lib/etcd:z -v /etc/etcd:/etc/etcd:ro --env-file=/etc/etcd/etcd.conf --env-file=/etc/sysconfig/etcd --net=host --entrypoint=/usr/bin/etcd {{ openshift.etcd.etcd_image }}
+ExecStart=/usr/bin/docker run --name {{ etcd_service }} --rm -v /var/lib/etcd:/var/lib/etcd:z -v /etc/etcd:/etc/etcd:ro --env-file=/etc/etcd/etcd.conf --net=host --entrypoint=/usr/bin/etcd {{ openshift.etcd.etcd_image }}
ExecStop=/usr/bin/docker stop {{ etcd_service }}
SyslogIdentifier=etcd_container
Restart=always