From e79ca4185947e867e8ea26521443413c2094a8c8 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Sat, 16 Sep 2017 00:26:28 +0200 Subject: update for recent keyring changes in systemd With systemd v235 we will have new KeyringMode= for services. Setting KeyringMode=shared allows to share secrets between services. Use that for our services. As udev is not started with a shared keyring we can not run the worker directly. Instead always start the service. --- udev/20-ykfde.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'udev') diff --git a/udev/20-ykfde.rules b/udev/20-ykfde.rules index 6973819..7328da3 100644 --- a/udev/20-ykfde.rules +++ b/udev/20-ykfde.rules @@ -25,4 +25,4 @@ ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", \ ATTRS{idVendor}=="1050", \ ATTRS{idProduct}=="0010|0110|0111|0114|0116|0401|0403|0405|0407|0410", \ - RUN+="/usr/lib/ykfde/worker" + RUN+="/usr/bin/systemctl start ykfde-worker.service" -- cgit v1.2.3-70-g09d2