mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-16 17:46:28 +00:00
Mount Systemd Journal socket to the Supervisor container (#4133)
Bind-mount Systemd Journal socket to the Supervisor container. This way Supervisor can use the socket directly for writing log entries using the Systemd native Journal protocol [1] instead of logging to stderr of the container. [1] https://systemd.io/JOURNAL_NATIVE_PROTOCOL/ (cherry picked from commit dffbe8914734a093b02a1cb0ec0f40adbf3bb109)
This commit is contained in:
parent
7c7cbf40be
commit
9d7f8a234f
@ -95,6 +95,7 @@ if [ -z "${SUPERVISOR_CONTAINER_ID}" ]; then
|
||||
--oom-score-adj=-300 \
|
||||
-v /run/docker.sock:/run/docker.sock:rw \
|
||||
-v /run/containerd/containerd.sock:/run/containerd/containerd.sock:rw \
|
||||
-v /run/systemd/journal/socket:/run/systemd/journal/socket: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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user