summaryrefslogtreecommitdiff
path: root/systemd/iot-barcode-transmitter.service
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2020-10-30 10:49:55 +0100
committerxengineering <mail2xengineering@protonmail.com>2020-10-30 11:00:01 +0100
commit6829d05453658a9f9672c847299c652b15126db1 (patch)
tree60d0f4ae1ec6950648e954c9a6528ce5a8e628ce /systemd/iot-barcode-transmitter.service
parent84b9ddcc2905f5d8667cfef1359b724c23d27365 (diff)
downloadiot-barcode-scanner-6829d05453658a9f9672c847299c652b15126db1.tar
iot-barcode-scanner-6829d05453658a9f9672c847299c652b15126db1.tar.zst
iot-barcode-scanner-6829d05453658a9f9672c847299c652b15126db1.zip
Introduce iot-barcode.target
Diffstat (limited to 'systemd/iot-barcode-transmitter.service')
-rw-r--r--systemd/iot-barcode-transmitter.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/systemd/iot-barcode-transmitter.service b/systemd/iot-barcode-transmitter.service
new file mode 100644
index 0000000..8ed31fb
--- /dev/null
+++ b/systemd/iot-barcode-transmitter.service
@@ -0,0 +1,14 @@
+
+[Unit]
+Description=A Daemon to transmit Barcodes to an MQTT Broker
+Requires=iot-barcode-device-handler.service
+After=iot-barcode-device-handler.service
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/iot_barcode_transmitter
+User=iotbarcode
+Group=iotbarcode
+
+[Install]
+WantedBy=iot-barcode.target