1
0
Fork 0
mirror of https://gitlab.postmarketos.org/postmarketOS/pmaports.git synced 2025-07-17 02:35:11 +03:00
pmaports/extra-repos/systemd/systemd-services/system-sensorfwd.service

21 lines
526 B
Desktop File

[Unit]
Description=Sensor daemon for sensor framework
After=dbus.socket
After=oneshot-root.service
Requires=dbus.service
Conflicts=actdead.target
[Service]
Type=notify
ExecStart=/usr/sbin/sensorfwd -c=/etc/sensorfw/primaryuse.conf --systemd --log-level=warning --no-magnetometer-bg-calibration
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
RestartSec=2
# Sandboxing
CapabilityBoundingSet=CAP_BLOCK_SUSPEND CAP_DAC_OVERRIDE CAP_FOWNER
PrivateTmp=yes
ProtectHome=yes
ProtectSystem=full
[Install]
WantedBy=graphical.target