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

[Service]
8 9
Type=forking
BusName=com.nokia.SensorService
10
ExecStart=/usr/sbin/sensorfwd -c=/etc/sensorfw/primaryuse.conf -d --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
Lorn Potter's avatar
Lorn Potter committed
14 15

[Install]
16
WantedBy=graphical.target
Lorn Potter's avatar
Lorn Potter committed
17