openshift.docker.node.dep.service 816 B

1234567891011
  1. [Unit]
  2. Requires={{ openshift_docker_service_name }}.service
  3. After={{ openshift_docker_service_name }}.service
  4. PartOf={{ openshift.common.service_type }}-node.service
  5. Before={{ openshift.common.service_type }}-node.service
  6. {% if openshift_use_crio %}Wants=cri-o.service{% endif %}
  7. [Service]
  8. ExecStart=/bin/bash -c "if [[ -f /usr/bin/docker-current ]]; then echo \"DOCKER_ADDTL_BIND_MOUNTS=--volume=/usr/bin/docker-current:/usr/bin/docker-current:ro --volume=/etc/sysconfig/docker:/etc/sysconfig/docker:ro --volume=/etc/containers/registries:/etc/containers/registries:ro\" > /etc/sysconfig/{{ openshift.common.service_type }}-node-dep; else echo \"#DOCKER_ADDTL_BIND_MOUNTS=\" > /etc/sysconfig/{{ openshift.common.service_type }}-node-dep; fi"
  9. ExecStop=
  10. SyslogIdentifier={{ openshift.common.service_type }}-node-dep