|
@@ -4,9 +4,9 @@ Documentation=https://github.com/openshift/origin
|
|
|
After=etcd_container.service
|
|
|
Wants=etcd_container.service
|
|
|
Before={{ openshift.common.service_type }}-node.service
|
|
|
-After=docker.service
|
|
|
-PartOf=docker.service
|
|
|
-Requires=docker.service
|
|
|
+After={{ openshift.docker.service_name }}.service
|
|
|
+PartOf={{ openshift.docker.service_name }}.service
|
|
|
+Requires={{ openshift.docker.service_name }}.service
|
|
|
|
|
|
[Service]
|
|
|
EnvironmentFile=/etc/sysconfig/{{ openshift.common.service_type }}-master-api
|
|
@@ -23,5 +23,5 @@ Restart=always
|
|
|
RestartSec=5s
|
|
|
|
|
|
[Install]
|
|
|
-WantedBy=docker.service
|
|
|
+WantedBy={{ openshift.docker.service_name }}.service
|
|
|
WantedBy={{ openshift.common.service_type }}-node.service
|