Files
systemd/units/systemd-journalctl-metrics.socket
Lennart Poettering 8168aca9fb units: tag more units correctly with varlink xattrs
These were added in parallel to #42454, hence catch up and add missing
xattrs.

Follow-up for 53fc4c48e7
2026-06-24 11:47:28 +01:00

32 lines
901 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 Metrics Report Socket
Documentation=man:journalctl(1)
DefaultDependencies=no
Before=sockets.target
After=systemd-sysusers.service
[Socket]
ListenStream=/run/systemd/report/io.systemd.Journal
FileDescriptorName=varlink
# Same permissions as systemd-journalctl.socket for io.systemd.JournalAccess
SocketGroup=systemd-journal
SocketMode=0664
Accept=yes
MaxConnectionsPerSource=16
RemoveOnStop=yes
XAttrEntryPoint=user.varlink=entrypoint
XAttrListen=user.varlink=listen
XAttrAccept=user.varlink=server
[Install]
WantedBy=sockets.target