From 13cab15faefe5d867546bec85759143d176bf46b Mon Sep 17 00:00:00 2001 From: bill-auger Date: Wed, 13 Feb 2019 03:27:05 -0500 Subject: add 'pcsclite-openrc' --- pcr-testing/pcsclite-openrc/pcscd.initd | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pcr-testing/pcsclite-openrc/pcscd.initd (limited to 'pcr-testing/pcsclite-openrc/pcscd.initd') diff --git a/pcr-testing/pcsclite-openrc/pcscd.initd b/pcr-testing/pcsclite-openrc/pcscd.initd new file mode 100644 index 000000000..a18ad78da --- /dev/null +++ b/pcr-testing/pcsclite-openrc/pcscd.initd @@ -0,0 +1,24 @@ +#!/usr/bin/openrc-run +# Copyright 1999-2014 Gentoo Foundation +# Copyright 2019 Artix Linux +# Distributed under the terms of the GNU General Public License v2 + +name="PC/SC Daemon" + +pidfile=/run/pcscd/pcscd.pid + +command=/usr/bin/pcscd +command_args="${EXTRA_OPTS}" + +start_stop_daemon_args="--user ${PCSCD_USER}:${PCSCD_GROUP}" + +depend() { + need localmount + after udev openct dbus + use logger +} + +start_pre() { + checkpath -d -m 0755 -o ${PCSCD_USER}:${PCSCD_GROUP} /run/pcscd +} + -- cgit v1.2.3