summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/templates
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-11-20 15:45:39 -0500
committerScott Dodson <sdodson@redhat.com>2015-12-15 15:45:45 -0500
commit043d6b3a7e3c6b799ddf4157ccdf2b2b67451d81 (patch)
tree7fdcdd862d1d959702054a40b8990bfaf8e4be34 /roles/openshift_master/templates
parent8e7c5c970b8adc83fd6d5cad115f4edb06b36d98 (diff)
downloadopenshift-043d6b3a7e3c6b799ddf4157ccdf2b2b67451d81.tar.gz
openshift-043d6b3a7e3c6b799ddf4157ccdf2b2b67451d81.tar.bz2
openshift-043d6b3a7e3c6b799ddf4157ccdf2b2b67451d81.tar.xz
openshift-043d6b3a7e3c6b799ddf4157ccdf2b2b67451d81.zip
fixes
Diffstat (limited to 'roles/openshift_master/templates')
-rw-r--r--roles/openshift_master/templates/master.docker.service.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_master/templates/master.docker.service.j2 b/roles/openshift_master/templates/master.docker.service.j2
index 8b23d70b1..23781a313 100644
--- a/roles/openshift_master/templates/master.docker.service.j2
+++ b/roles/openshift_master/templates/master.docker.service.j2
@@ -6,7 +6,7 @@ PartOf=docker.service
[Service]
EnvironmentFile=/etc/sysconfig/{{ openshift.common.service_type }}-master
-ExecStartPre=-/usr/bin/docker rm -f {{ openshift.common.service_type}}-master
+ExecStartPre=-/usr/bin/docker rm -f {{ openshift.common.service_type }}-master
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.master.master_image }} start master --config=${CONFIG_FILE} $OPTIONS
ExecStartPost=/usr/bin/sleep 10
ExecStop=/usr/bin/docker stop {{ openshift.common.service_type }}-master