From 6829d05453658a9f9672c847299c652b15126db1 Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 30 Oct 2020 10:49:55 +0100 Subject: Introduce iot-barcode.target --- systemd/iot-barcode-transmitter.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 systemd/iot-barcode-transmitter.service (limited to 'systemd/iot-barcode-transmitter.service') 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 -- cgit v1.2.3-70-g09d2