summaryrefslogtreecommitdiffstats
path: root/modules.d/91pcsc/pcscd.service
diff options
context:
space:
mode:
Diffstat (limited to 'modules.d/91pcsc/pcscd.service')
-rw-r--r--modules.d/91pcsc/pcscd.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules.d/91pcsc/pcscd.service b/modules.d/91pcsc/pcscd.service
new file mode 100644
index 0000000..639decd
--- /dev/null
+++ b/modules.d/91pcsc/pcscd.service
@@ -0,0 +1,13 @@
+[Unit]
+DefaultDependencies=no
+Description=PC/SC Smart Card Daemon (Dracut)
+Documentation=man:pcscd(8)
+Requires=pcscd.socket
+
+[Service]
+ExecStart=/usr/sbin/pcscd --foreground --auto-exit
+ExecReload=/usr/sbin/pcscd --hotplug
+
+[Install]
+Also=pcscd.socket
+WantedBy=cryptsetup-pre.target