diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-03-21 18:24:52 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-03-21 18:24:52 +0000 |
commit | 8c4b34e66eb2131d3b436204bf12707afb817775 (patch) | |
tree | 96f7aec668d67256c6bf741f7b5e445cdd1e80d3 /user/pcsc-lite/pcscd.initd | |
parent | e6de54bdad266d91ae184cc9f2369e35da844b7e (diff) | |
download | packages-8c4b34e66eb2131d3b436204bf12707afb817775.tar.gz packages-8c4b34e66eb2131d3b436204bf12707afb817775.tar.bz2 packages-8c4b34e66eb2131d3b436204bf12707afb817775.tar.xz packages-8c4b34e66eb2131d3b436204bf12707afb817775.zip |
legacy/pcsc-lite: move back to user/; required by Java
Diffstat (limited to 'user/pcsc-lite/pcscd.initd')
-rw-r--r-- | user/pcsc-lite/pcscd.initd | 23 |
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 +} |