summaryrefslogtreecommitdiff
path: root/legacy/pcsc-lite/pcscd.initd
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-21 17:05:58 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-21 17:05:58 +0000
commitb28ddc074e748330996b9592f3f8961e5ba2f7a7 (patch)
tree0508e30613358b769a260210f8a0f6442d306c41 /legacy/pcsc-lite/pcscd.initd
parent6a212945a1b9cd5620cf4bb5942ef7fdfb399b49 (diff)
downloadpackages-b28ddc074e748330996b9592f3f8961e5ba2f7a7.tar.gz
packages-b28ddc074e748330996b9592f3f8961e5ba2f7a7.tar.bz2
packages-b28ddc074e748330996b9592f3f8961e5ba2f7a7.tar.xz
packages-b28ddc074e748330996b9592f3f8961e5ba2f7a7.zip
move pcsc-lite to legacy for a few months as is customary
Diffstat (limited to 'legacy/pcsc-lite/pcscd.initd')
-rw-r--r--legacy/pcsc-lite/pcscd.initd23
1 files changed, 23 insertions, 0 deletions
diff --git a/legacy/pcsc-lite/pcscd.initd b/legacy/pcsc-lite/pcscd.initd
new file mode 100644
index 000000000..7c580253a
--- /dev/null
+++ b/legacy/pcsc-lite/pcscd.initd
@@ -0,0 +1,23 @@
+#!/sbin/openrc-run
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/files/pcscd-init.7,v 1.1 2014/02/14 23:11:54 flameeyes Exp $
+
+name="PC/SC Daemon"
+
+pidfile=/run/pcscd/pcscd.pid
+
+command=/usr/sbin/pcscd
+command_args="${EXTRA_OPTS}"
+
+start_stop_daemon_args="--user pcscd:pcscd"
+
+depend() {
+ need localmount
+ after udev openct dbus
+ use logger
+}
+
+start_pre() {
+ checkpath -d -m 0755 -o pcscd:pcscd /run/pcscd
+}