Files
pmaports-rtwo/extra-repos/systemd/systemd-services/system-iio-sensor-proxy.service
T
Dylan Van Assche c5cf9351da systemd/iio-sensor-proxy: allow AF_QIPCRTR (MR 5190) (MR 5563)
libssc requires QRTR protocol, allow it in systemd lockdown.

[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:32 +01:00

20 lines
435 B
Desktop File

[Unit]
Description=IIO Sensor Proxy service
[Service]
Type=dbus
BusName=net.hadess.SensorProxy
ExecStart=/usr/libexec/iio-sensor-proxy
#Uncomment this to enable debug
#Environment="G_MESSAGES_DEBUG=all"
# Lockdown
ProtectSystem=strict
ProtectControlGroups=true
ProtectHome=true
ProtectKernelModules=true
PrivateTmp=true
RestrictAddressFamilies=AF_UNIX AF_LOCAL AF_NETLINK AF_QIPCRTR
MemoryDenyWriteExecute=true
RestrictRealtime=true