daemon: Fix upower not having access to udev events

PrivateNetwork=true will cut off upower from the udev netlink socket, so
it's not what we want to use, as we want those events.

See https://lists.freedesktop.org/archives/systemd-devel/2018-July/041000.html

Closes: #68
This commit is contained in:
Bastien Nocera 2018-08-21 13:30:44 +02:00
parent 5ffcb1c269
commit fe356951a9

View file

@ -17,7 +17,8 @@ ProtectHome=true
PrivateTmp=true
# Network
PrivateNetwork=true
# PrivateNetwork=true would block udev's netlink socket
RestrictAddressFamilies=AF_UNIX AF_NETLINK
# Execute Mappings
MemoryDenyWriteExecute=true