From bef7293b8e6a8337026d695d3467cc667390019b Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 30 Oct 2020 11:09:42 +0100 Subject: Start Transmitter after network-online.target --- systemd/iot-barcode-transmitter.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2