Expose systemd-journal-gatewayd to Supervisor (#1627)
* Add systemd-journal-remote to the image This allows to access journald's log from within Supervisor and expose more system logs to users. * Allow to access systemd-journal-gatewayd from Supervisor Create a systemd-journal-gatewayd.socket service using a Unix socket and bind mount it into the Supervisor container. This allows to query systemd-journald from Supervisor directly.
This commit is contained in:
@@ -81,6 +81,7 @@ if [ -z "${SUPERVISOR_CONTAINER_ID}" ]; then
|
||||
--name hassio_supervisor \
|
||||
--privileged --security-opt apparmor="hassio-supervisor" \
|
||||
-v /run/docker.sock:/run/docker.sock:rw \
|
||||
-v /run/systemd-journal-gatewayd.sock:/run/systemd-journal-gatewayd.sock:rw \
|
||||
-v /run/dbus:/run/dbus:ro \
|
||||
-v /run/supervisor:/run/os:rw \
|
||||
-v /run/udev:/run/udev:ro \
|
||||
|
||||
Reference in New Issue
Block a user