Files
systemd/units/systemd-report-basic.socket
Zbigniew Jędrzejewski-Szmek 5d0a953960 report-basic: lock down the service
The basic approach is copied from systemd-journal-gatewayd.service,
with some additions to lock down unneeded network access.
2026-04-01 16:38:14 +02:00

24 lines
623 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=Report System Basic Facts Socket
DefaultDependencies=no
Before=sockets.target
[Socket]
ListenStream=/run/systemd/report/io.systemd.Basic
FileDescriptorName=varlink
SocketMode=0666
Accept=yes
MaxConnectionsPerSource=16
RemoveOnStop=yes
[Install]
WantedBy=sockets.target