r/z*2mqtt: Wait for network before starting

The Zigbee2MQTT and ZWaveJS2MQTT servers do not start correctly if the
network is not yet available.
ntfy
Dustin 2021-10-10 15:49:08 -05:00
parent d446653296
commit 1f9e13a33b
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,7 @@
[Unit]
Description=Zigbee2MQTT
After=network-online.target
Wants=network-online.target
[Service]
Type=notify

View File

@ -1,5 +1,7 @@
[Unit]
Description=Zwavejs2Mqtt
After=network-online.target
Wants=network-online.target
[Service]
Type=notify