|
@@ -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
|