From a264487008bbf0f3a47f2e57e1c1ec4472d18653 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 2 Mar 2016 22:06:24 +0100 Subject: add comment about sleep Is there any better way than sleeping? --- systemd/ykfde-notify.service | 3 +++ 1 file changed, 3 insertions(+) (limited to 'systemd') diff --git a/systemd/ykfde-notify.service b/systemd/ykfde-notify.service index b2ddc72..04a4d46 100644 --- a/systemd/ykfde-notify.service +++ b/systemd/ykfde-notify.service @@ -16,4 +16,7 @@ ConditionPathExists=/run/ykfde.pid Type=oneshot RemainAfterExit=yes ExecStart=/usr/bin/pkill -USR1 --pidfile /run/ykfde.pid +# ykfde started from udev needs a moment to set up the key +# in store. It is out of systemd control, so wait a moment +# here. ExecStart=/usr/bin/sleep 0.2 -- cgit v1.2.3-70-g09d2