summaryrefslogtreecommitdiffstats
path: root/systemd/ykfde-notify.service
blob: b2ddc72fa38f8e99285002b6e442f02a6500b02d (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# (C) 2016 by Christian Hesse <mail@eworm.de>
#
# This software may be used and distributed according to the terms
# of the GNU General Public License, incorporated herein by reference.

[Unit]
Description=Notify ykfde about key
DefaultDependencies=no
Before=cryptsetup-pre.target
Wants=cryptsetup-pre.target
Requires=ykfde-2f.service
After=ykfde-2f.service
ConditionPathExists=/run/ykfde.pid

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/pkill -USR1 --pidfile /run/ykfde.pid
ExecStart=/usr/bin/sleep 0.2