Files
iio-sensor-proxy/data/iio-sensor-proxy.service.in
Bastien Nocera af2f3a1055 build: Install daemon in libexecdir
Rather than sbindir, which would have meant it could be in the PATH.
2020-06-27 14:02:32 +02:00

20 lines
424 B
SYSTEMD

[Unit]
Description=IIO Sensor Proxy service
[Service]
Type=dbus
BusName=net.hadess.SensorProxy
ExecStart=@libexecdir@/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
MemoryDenyWriteExecute=true
RestrictRealtime=true