|
@@ -11,7 +11,7 @@ PartOf=docker.service
|
|
|
EnvironmentFile=/etc/sysconfig/{{ openshift.common.service_type }}-master-controllers
|
|
|
Environment=GOTRACEBACK=crash
|
|
|
ExecStartPre=-/usr/bin/docker rm -f {{ openshift.common.service_type}}-master-controllers
|
|
|
-ExecStart=/usr/bin/docker run --rm --privileged --net=host --name {{ openshift.common.service_type }}-master-controllers -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 }}:${IMAGE_VERSION} start master controllers --config=${CONFIG_FILE} $OPTIONS
|
|
|
+ExecStart=/usr/bin/docker run --rm --privileged --net=host --name {{ openshift.common.service_type }}-master-controllers --env-file=/etc/sysconfig/{{ openshift.common.service_type }}-master-controllers -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 }}:${IMAGE_VERSION} start master controllers --config=${CONFIG_FILE} $OPTIONS
|
|
|
ExecStartPost=/usr/bin/sleep 10
|
|
|
ExecStop=/usr/bin/docker stop {{ openshift.common.service_type }}-master-controllers
|
|
|
LimitNOFILE=131072
|