diff options
author | xengineering <mail2xengineering@protonmail.com> | 2020-10-30 11:09:42 +0100 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2020-10-30 11:09:42 +0100 |
commit | bef7293b8e6a8337026d695d3467cc667390019b (patch) | |
tree | 92719d7d127603687494535d583527e107221513 | |
parent | 6829d05453658a9f9672c847299c652b15126db1 (diff) | |
download | iot-barcode-scanner-bef7293b8e6a8337026d695d3467cc667390019b.tar iot-barcode-scanner-bef7293b8e6a8337026d695d3467cc667390019b.tar.zst iot-barcode-scanner-bef7293b8e6a8337026d695d3467cc667390019b.zip |
Start Transmitter after network-online.target
-rw-r--r-- | systemd/iot-barcode-transmitter.service | 3 |
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 |