Andrew Geissler | 220dafd | 2023-10-04 10:18:08 -0500 | [diff] [blame] | 1 | From: Joachim Zobel <jz-2017@heute-morgen.de> |
| 2 | Date: Wed, 13 Sep 2023 10:05:43 +0200 |
| 3 | Subject: [PATCH] Mosquitto now waits for network-online when starting |
| 4 | (Closes: #1036450) |
| 5 | |
| 6 | See: https://github.com/eclipse/mosquitto/issues/2878 |
| 7 | --- |
| 8 | Upstream-Status: Pending |
| 9 | |
| 10 | service/systemd/mosquitto.service.simple | 4 ++-- |
| 11 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 12 | |
| 13 | diff --git a/service/systemd/mosquitto.service.simple b/service/systemd/mosquitto.service.simple |
| 14 | index 15ee0d6..c2a330b 100644 |
| 15 | --- a/service/systemd/mosquitto.service.simple |
| 16 | +++ b/service/systemd/mosquitto.service.simple |
| 17 | @@ -1,8 +1,8 @@ |
| 18 | [Unit] |
| 19 | Description=Mosquitto MQTT Broker |
| 20 | Documentation=man:mosquitto.conf(5) man:mosquitto(8) |
| 21 | -After=network.target |
| 22 | -Wants=network.target |
| 23 | +After=network-online.target |
| 24 | +Wants=network-online.target |
| 25 | |
| 26 | [Service] |
| 27 | ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf |