Skip to content

Commit c011ebf

Browse files
committed
Include Upstart config file
Oops - forgot to git add!
1 parent 314288a commit c011ebf

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

quicktill-nfc-bridge.conf

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# quicktill-nfc-bridge
2+
#
3+
# The quicktill-nfc-bridge deamon converts taps on an ACR122U NFC
4+
# reader into user tokens delivered as UDP packets to localhost:8455.
5+
6+
description "NFC reader to quicktill bridge"
7+
author "Stephen Early <sde@individualpubs.co.uk>"
8+
9+
start on usb-device-added ID_MODEL_ID='2200' ID_VENDOR_ID='072f'
10+
stop on usb-device-removed ID_MODEL_ID='2200' ID_VENDOR_ID='072f'
11+
12+
instance acr122_usb:$BUSNUM:$DEVNUM
13+
14+
respawn
15+
16+
exec /usr/sbin/quicktill-nfc-bridge acr122_usb:$BUSNUM:$DEVNUM

0 commit comments

Comments
 (0)