From 84b9ddcc2905f5d8667cfef1359b724c23d27365 Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 29 Oct 2020 12:11:32 +0100 Subject: Setup basic Systemd Units --- iot-barcode.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 iot-barcode.service (limited to 'iot-barcode.service') 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 -- cgit v1.2.3-70-g09d2