summaryrefslogtreecommitdiff
path: root/user/pcsc-lite/pcscd.initd
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-25 19:29:59 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-25 19:29:59 -0500
commitb0dca5a06989f9513ac6cf3313fae2b405c21e5f (patch)
tree6e02c4542ff7e467d8140d4ec7c27b5606c295a9 /user/pcsc-lite/pcscd.initd
parente8b1b68f0a79b2418768ada3e3e2436aa84296e8 (diff)
downloadpackages-b0dca5a06989f9513ac6cf3313fae2b405c21e5f.tar.gz
packages-b0dca5a06989f9513ac6cf3313fae2b405c21e5f.tar.bz2
packages-b0dca5a06989f9513ac6cf3313fae2b405c21e5f.tar.xz
packages-b0dca5a06989f9513ac6cf3313fae2b405c21e5f.zip
user/pcsc-lite: pull in, [??? version], emergency gentoo escape hatch for alioth
Diffstat (limited to 'user/pcsc-lite/pcscd.initd')
-rw-r--r--user/pcsc-lite/pcscd.initd23
1 files changed, 23 insertions, 0 deletions
diff --git a/user/pcsc-lite/pcscd.initd b/user/pcsc-lite/pcscd.initd
new file mode 100644
index 000000000..7c580253a
--- /dev/null
+++ b/user/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
+}