openshift.docker.master.service 618 B

1234567891011
  1. [Unit]
  2. After=docker.service
  3. Require=docker.service
  4. [Service]
  5. EnvironmentFile=/etc/sysconfig/{{ openshift.common.service_type }}-master
  6. ExecStart=/usr/bin/docker run --rm --privileged --net=host --name {{ openshift.common.service_type }}-master -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 master --config=${CONFIG_FILE} ${OPTIONS}
  7. ExecStop=/usr/bin/docker stop {{ openshift.common.service_type }}-master
  8. [Install]
  9. WantedBy=multi-user.target