diff options
author | xengineering <mail2xengineering@protonmail.com> | 2020-10-29 12:11:32 +0100 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2020-10-29 12:15:46 +0100 |
commit | 84b9ddcc2905f5d8667cfef1359b724c23d27365 (patch) | |
tree | 4e5a4c9ba39d8ec8c1a63a2bda4d7e9fc402ae40 /README.md | |
parent | 56503ecf9bccd9a318142e2946f84e5f57be5eeb (diff) | |
download | iot-barcode-scanner-84b9ddcc2905f5d8667cfef1359b724c23d27365.tar iot-barcode-scanner-84b9ddcc2905f5d8667cfef1359b724c23d27365.tar.zst iot-barcode-scanner-84b9ddcc2905f5d8667cfef1359b724c23d27365.zip |
Setup basic Systemd Units
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -13,11 +13,12 @@ A service that makes barcode scanners available on the network for IoT use. git clone https://github.com/xengineering/iot-barcode-scanner.git cd iot-barcode-scanner sudo make install + sudo useradd -Urs /usr/bin/nologin iotbarcode ``` -2. Configure ```/etc/xengineering.eu/iot_barcode_scanner/config.json``` -3. Run ```sudo eu.xengineering.iot_barcode_scanner.scanner &``` -4. Run ```eu.xengineering.iot_barcode_scanner.transmitter &``` -5. Listen to MQTT output (e.g. with ```mosquitto_sub -h localhost -t "xengineering.eu/iot-barcode-scanner"```) +2. Configure ```/etc/iot_barcode/config.json``` +3. Run ```sudo systemctl enable --now iot-barcode-device-handler``` +4. Run ```sudo systemctl enable --now iot-barcode``` +5. Listen to MQTT output (e.g. with ```mosquitto_sub -h localhost -t "xengineering.eu/iot-barcode"```) ## Milestones @@ -27,10 +28,10 @@ A service that makes barcode scanners available on the network for IoT use. - [x] Disable scanner as regular input source and bind it only to the service - [x] Split into two executables to reduce root-priviledged code - [x] Write Makefile for easy installation +- [x] Implement systemd services +- [ ] Package it for Arch Linux - [ ] Make python package installation portable across linux distributions -- [ ] Implement systemd services - [ ] Implement auto discovery of barcode scanners -- [ ] Package it for Arch Linux ## Dependencies |