summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/ham
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-05-21 10:58:53 +0200
committermakefu <github@syntax-fehler.de>2020-05-21 10:58:53 +0200
commit2f244cf3a85c82a57d34b42e3aaf80162bdf65a7 (patch)
tree24d5f55331f23143993f160f2e284dbc0c06df6f /makefu/2configs/ham
parent6eb00a342fc674b698ed0296391364e773113cfd (diff)
ma zigbee2mqtt: start up after network is available
Diffstat (limited to 'makefu/2configs/ham')
-rw-r--r--makefu/2configs/ham/zigbee2mqtt/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/makefu/2configs/ham/zigbee2mqtt/default.nix b/makefu/2configs/ham/zigbee2mqtt/default.nix
index 7c55326f9..84d32c872 100644
--- a/makefu/2configs/ham/zigbee2mqtt/default.nix
+++ b/makefu/2configs/ham/zigbee2mqtt/default.nix
@@ -17,4 +17,5 @@
volumes = ["/var/lib/zigbee2mqtt:/app/data"];
};
state = [ "/var/lib/zigbee2mqtt/configuration.yaml" "/var/lib/zigbee2mqtt/state.json" ];
+ systemd.services.docker-zigbee2mqtt.after = [ "home-assistant.service" "docker.service" "network-online.target" ];
}