* 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.
19 lines
529 B
SYSTEMD
19 lines
529 B
SYSTEMD
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
#
|
|
# This file is part of systemd.
|
|
#
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
[Unit]
|
|
Description=Journal Gateway Service Socket
|
|
Documentation=man:systemd-journal-gatewayd(8)
|
|
|
|
[Socket]
|
|
ListenStream=/run/systemd-journal-gatewayd.sock
|
|
|
|
[Install]
|
|
WantedBy=sockets.target
|