Skip to content

Commit

Permalink
Mosquitto now waits for network-online when starting (Closes: #1036450)
Browse files Browse the repository at this point in the history
  • Loading branch information
narc-Ontakac2 authored and LocutusOfBorg committed Sep 26, 2023
1 parent f4400fa commit 8e15f27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/systemd/mosquitto.service.simple
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[Unit]
Description=Mosquitto MQTT Broker
Documentation=man:mosquitto.conf(5) man:mosquitto(8)
After=network.target
Wants=network.target
After=network-online.target
Wants=network-online.target

[Service]
ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
Expand Down

0 comments on commit 8e15f27

Please sign in to comment.