Skip to content

Commit

Permalink
Merge pull request #18481 from mgugino-upstream-stage/fix-master-sysc…
Browse files Browse the repository at this point in the history
…on-vars

Automatic merge from submit-queue (batch tested with PRs 18454, 18504, 18510, 18481, 18272).

Add DOCKER_SERVICE to master system-container

This commit adds DOCKER_SERVICE variable to
the origin master service unit templates
for system containers.

Needed-by: openshift/openshift-ansible#7031
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1542324
  • Loading branch information
openshift-merge-robot authored Feb 8, 2018
2 parents 9faa87a + 2d92c53 commit ebb0635
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions images/origin/system-container/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"ORIGIN_CONFIG_DIR": "/etc/origin",
"ORIGIN_DATA_DIR": "/var/lib/origin",
"ETCD_SERVICE": "etcd.service",
"NODE_SERVICE": "atomic-openshift-node.service"
"NODE_SERVICE": "atomic-openshift-node.service",
"DOCKER_SERVICE": "docker.service"
}
}

2 changes: 1 addition & 1 deletion images/origin/system-container/service.template
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ WorkingDirectory=$DESTDIR
RuntimeDirectory=${NAME}

[Install]
WantedBy=docker.service
WantedBy=${DOCKER_SERVICE}

0 comments on commit ebb0635

Please sign in to comment.