7 Commits

Author SHA1 Message Date
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
Bastien Nocera
f4cd8e803b data: Make filesystem access strict
We don't need write access to /etc, so block it.
2018-05-04 16:11:07 +02:00
Bastien Nocera
078dc862a0 data: Fix daemon not receiving udev events
Disable PrivateNetwork lockdown so we can get access to uevents that
tell us whether sensors got removed or added, but allow enough
networking for udev to work correctly.

Fixes the regression introduced in 45f9a638.
2017-02-15 15:49:30 +01:00
Bastien Nocera
45f9a63885 data: Lockdown systemd service
As detailed in systemd.exec(5).
2017-01-05 13:06:37 +01:00
Bastien Nocera
ba9a803628 data, main: Move debug envvar to service file
To make it easier to debug iio-sensor-proxy
without recompiling.
2016-11-22 14:19:12 +01:00
Bastien Nocera
fd4b7f7d65 main: Use D-Bus instead of uinput
Instead of exporting the orientation state using a combination of
uinput and udev, use D-Bus.
2015-03-05 10:47:07 +01:00
Bastien Nocera
348fc043e6 data: Correct path to binary in service file 2014-11-20 05:39:51 +01:00