summaryrefslogtreecommitdiff
path: root/systemd/iot-barcode-transmitter.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/iot-barcode-transmitter.service')
-rw-r--r--systemd/iot-barcode-transmitter.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/systemd/iot-barcode-transmitter.service b/systemd/iot-barcode-transmitter.service
index 8ed31fb..d1c51b9 100644
--- a/systemd/iot-barcode-transmitter.service
+++ b/systemd/iot-barcode-transmitter.service
@@ -2,7 +2,8 @@
[Unit]
Description=A Daemon to transmit Barcodes to an MQTT Broker
Requires=iot-barcode-device-handler.service
-After=iot-barcode-device-handler.service
+After=iot-barcode-device-handler.service network-online.target
+Wants=network-online.target
[Service]
Type=simple