openshift.docker.node.service 628 B

1234567891011
  1. [Unit]
  2. After=docker.service
  3. Require=docker.service
  4. [Service]
  5. EnvironmentFile=/etc/sysconfig/{{ openshift.common.service_type }}-node
  6. ExecStart=/usr/bin/docker run --rm --privileged --net=host --name "{{ openshift.common.service_type }}-node" -v /:/rootfs:ro -v {{ openshift.common.data_dir }}:{{ openshift.common.data_dir }} -v /var/run/docker.sock:/var/run/docker.sock -v {{ openshift.common.config_base }}:{{ openshift.common.config_base }} {{ openshift_docker_image }} start node --config=${CONFIG_FILE} ${OPTIONS}
  7. ExecStop=/usr/bin/docker stop {{ openshift.common.service_type }}-node
  8. [Install]
  9. WantedBy=multi-user.target