sensorfwd.service 527 Bytes
Newer Older
Lorn Potter's avatar
Lorn Potter committed
1
[Unit]
2
Description=Sensor daemon for sensor framework
3
After=dbus.socket
4
After=oneshot-root.service
5
Requires=dbus.service
6
Conflicts=actdead.target
Lorn Potter's avatar
Lorn Potter committed
7 8

[Service]
9 10
Type=notify
ExecStart=/usr/sbin/sensorfwd -c=/etc/sensorfw/primaryuse.conf --systemd --log-level=warning --no-magnetometer-bg-calibration
Lorn Potter's avatar
Lorn Potter committed
11
ExecReload=/bin/kill -HUP $MAINPID
12 13
Restart=always
RestartSec=1
14
# Sandboxing
15
CapabilityBoundingSet=CAP_BLOCK_SUSPEND CAP_DAC_OVERRIDE CAP_FOWNER
16 17 18
PrivateTmp=yes
ProtectHome=yes
ProtectSystem=full
Lorn Potter's avatar
Lorn Potter committed
19 20

[Install]
21
WantedBy=graphical.target
Lorn Potter's avatar
Lorn Potter committed
22