diff options
Diffstat (limited to 'meta-networking/recipes-connectivity/mosquitto/files/2895.patch')
-rw-r--r-- | meta-networking/recipes-connectivity/mosquitto/files/2895.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/mosquitto/files/2895.patch b/meta-networking/recipes-connectivity/mosquitto/files/2895.patch new file mode 100644 index 000000000..a9e9c97b8 --- /dev/null +++ b/meta-networking/recipes-connectivity/mosquitto/files/2895.patch | |||
@@ -0,0 +1,25 @@ | |||
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 | service/systemd/mosquitto.service.simple | 4 ++-- | ||
9 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
10 | |||
11 | diff --git a/service/systemd/mosquitto.service.simple b/service/systemd/mosquitto.service.simple | ||
12 | index 15ee0d6..c2a330b 100644 | ||
13 | --- a/service/systemd/mosquitto.service.simple | ||
14 | +++ b/service/systemd/mosquitto.service.simple | ||
15 | @@ -1,8 +1,8 @@ | ||
16 | [Unit] | ||
17 | Description=Mosquitto MQTT Broker | ||
18 | Documentation=man:mosquitto.conf(5) man:mosquitto(8) | ||
19 | -After=network.target | ||
20 | -Wants=network.target | ||
21 | +After=network-online.target | ||
22 | +Wants=network-online.target | ||
23 | |||
24 | [Service] | ||
25 | ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf | ||