aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2016-03-02 22:06:24 +0100
committerGravatar Christian Hesse <mail@eworm.de>2016-05-22 20:44:26 +0200
commita264487008bbf0f3a47f2e57e1c1ec4472d18653 (patch)
tree67112f9c8fe33072f96215202c8782756c3a077e
parent9bed4cc764820595c6a8f713a80b10f71a0dc3cc (diff)
downloadmkinitcpio-ykfde-a264487008bbf0f3a47f2e57e1c1ec4472d18653.tar.gz
mkinitcpio-ykfde-a264487008bbf0f3a47f2e57e1c1ec4472d18653.tar.zst
add comment about sleep
Is there any better way than sleeping?
-rw-r--r--systemd/ykfde-notify.service3
1 files changed, 3 insertions, 0 deletions
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