From b10fd4ff22e957adc5a64e338a4956f72905f7de Mon Sep 17 00:00:00 2001 From: Jake Moshenko Date: Fri, 27 Mar 2015 16:31:35 -0400 Subject: [PATCH] Tell the journal on the builders to listen on the proper socket. --- buildman/templates/cloudconfig.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/buildman/templates/cloudconfig.yaml b/buildman/templates/cloudconfig.yaml index 29f7ccc5a..2f274361a 100644 --- a/buildman/templates/cloudconfig.yaml +++ b/buildman/templates/cloudconfig.yaml @@ -22,6 +22,17 @@ coreos: group: {{ coreos_channel }} units: + - name: systemd-journal-gatewayd.socket + command: start + enable: yes + content: | + [Unit] + Description=Journal Gateway Service Socket + [Socket] + ListenStream=/var/run/journald.sock + Service=systemd-journal-gatewayd.service + [Install] + WantedBy=sockets.target {{ dockersystemd('quay-builder', 'quay.io/coreos/registry-build-worker', quay_username, @@ -36,6 +47,6 @@ coreos: {{ dockersystemd('builder-logs', 'quay.io/kelseyhightower/journal-2-logentries', extra_args='--env-file /root/overrides.list -v /run/journald.sock:/run/journald.sock', - after_units=['quay-builder'] + after_units=['quay-builder.service'] ) | indent(4) }} {%- endif %}