mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2025-12-07 01:43:08 +08:00
Mosquitto now waits for network-online when starting (Closes: #1036450)
See: https://github.com/eclipse/mosquitto/issues/2878
This commit is contained in:
committed by
Roger Light
parent
b6d59ddd23
commit
1f31f14c3c
@@ -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]
|
||||
Type=notify
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user