summaryrefslogtreecommitdiff
path: root/iot-barcode.service
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2020-10-29 12:11:32 +0100
committerxengineering <mail2xengineering@protonmail.com>2020-10-29 12:15:46 +0100
commit84b9ddcc2905f5d8667cfef1359b724c23d27365 (patch)
tree4e5a4c9ba39d8ec8c1a63a2bda4d7e9fc402ae40 /iot-barcode.service
parent56503ecf9bccd9a318142e2946f84e5f57be5eeb (diff)
downloadiot-barcode-scanner-84b9ddcc2905f5d8667cfef1359b724c23d27365.tar
iot-barcode-scanner-84b9ddcc2905f5d8667cfef1359b724c23d27365.tar.zst
iot-barcode-scanner-84b9ddcc2905f5d8667cfef1359b724c23d27365.zip
Setup basic Systemd Units
Diffstat (limited to 'iot-barcode.service')
-rw-r--r--iot-barcode.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/iot-barcode.service b/iot-barcode.service
new file mode 100644
index 0000000..fbd9940
--- /dev/null
+++ b/iot-barcode.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_daemon
+User=iotbarcode
+Group=iotbarcode
+
+[Install]
+WantedBy=default.target