Tell the journal on the builders to listen on the proper socket.

This commit is contained in:
Jake Moshenko 2015-03-27 16:31:35 -04:00
parent 6eead7c860
commit b10fd4ff22

View file

@ -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 %}