[Unit]
Description=Sensor daemon for sensor framework
After=dbus.socket
After=oneshot-root.service
After=lxc@android.service
Requires=dbus.service
Conflicts=actdead.target

[Service]
Type=notify
ExecStart=/usr/sbin/sensorfwd -c=/etc/deviceinfo/sensorfw/hybris.conf --systemd --log-level=warning --no-magnetometer-bg-calibration
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
RestartSec=1
# Sandboxing
CapabilityBoundingSet=CAP_BLOCK_SUSPEND CAP_DAC_OVERRIDE CAP_FOWNER
PrivateTmp=yes
ProtectHome=yes
ProtectSystem=full

[Install]
WantedBy=graphical.target
