summaryrefslogtreecommitdiffstats
path: root/roles/dns/templates/named.service.j2
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-05-10 20:59:11 -0400
committerGitHub <noreply@github.com>2017-05-10 20:59:11 -0400
commitd98a055f736e94449de556b1b906d48fd3fd7c60 (patch)
tree1fcadf073182333f60addd345655fba3b1e4e843 /roles/dns/templates/named.service.j2
parentf724a2cbd99ab131436089b3ec58af8498f5fbfb (diff)
parent64dd65bef17835164a535d8367fdc8c852a97293 (diff)
downloadopenshift-d98a055f736e94449de556b1b906d48fd3fd7c60.tar.gz
openshift-d98a055f736e94449de556b1b906d48fd3fd7c60.tar.bz2
openshift-d98a055f736e94449de556b1b906d48fd3fd7c60.tar.xz
openshift-d98a055f736e94449de556b1b906d48fd3fd7c60.zip
Merge pull request #4131 from ashcrow/1448800
Update systemd units to use proper container service name
Diffstat (limited to 'roles/dns/templates/named.service.j2')
-rw-r--r--roles/dns/templates/named.service.j28
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/dns/templates/named.service.j2 b/roles/dns/templates/named.service.j2
index 566739f25..6e0a7a640 100644
--- a/roles/dns/templates/named.service.j2
+++ b/roles/dns/templates/named.service.j2
@@ -1,7 +1,7 @@
[Unit]
-Requires=docker.service
-After=docker.service
-PartOf=docker.service
+Requires={{ openshift.docker.service_name }}.service
+After={{ openshift.docker.service_name }}.service
+PartOf={{ openshift.docker.service_name }}.service
[Service]
Type=simple
@@ -12,4 +12,4 @@ ExecStart=/usr/bin/docker run --name bind -p 53:53/udp -v /var/log:/var/log -v /
ExecStop=/usr/bin/docker stop bind
[Install]
-WantedBy=docker.service
+WantedBy={{ openshift.docker.service_name }}.service