aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/openct/openct/openct.service
diff options
context:
space:
mode:
authorLi xin <lixin.fnst@cn.fujitsu.com>2015-01-21 18:19:14 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2015-01-28 09:52:51 +0100
commitce7f238f684ffe0929d8d1629208c2afd818dd65 (patch)
treec83576734148cef54f9d3775101bd99bce178a8f /meta-oe/recipes-support/openct/openct/openct.service
parentc8f98b15d0a06938e36de91ebf8b2471e50d21d8 (diff)
downloadmeta-openembedded-contrib-ce7f238f684ffe0929d8d1629208c2afd818dd65.tar.gz
openct: add new recipe
OpenCT implements drivers for several smart card readers. It comes as driver in ifdhandler format for PC/SC-Lite, as CT-API driver, or as a small and lean middleware, so applications can use it with minimal overhead. OpenCT also has a primitive mechanism to export smart card readers to remote machines via TCP/IP. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/openct/openct/openct.service')
-rw-r--r--meta-oe/recipes-support/openct/openct/openct.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/openct/openct/openct.service b/meta-oe/recipes-support/openct/openct/openct.service
new file mode 100644
index 0000000000..c9ec497fa5
--- /dev/null
+++ b/meta-oe/recipes-support/openct/openct/openct.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Openct Middleware framework for smart card terminals
+After=syslog.target network.target
+
+[Service]
+EnvironmentFile=-/etc/sysconfig/openct
+ExecStart=/usr/sbin/openct-control $OPENCT_OPTIONS init
+ExecStop=/usr/sbin/openct-control $OPENCT_OPTIONS shutdown
+RemainAfterExit=yes
+KillMode=none
+
+[Install]
+WantedBy=multi-user.target