wordclock-dimmer: Start after mosquitto
This commit is contained in:
parent
24db1faff9
commit
057037b1b9
|
@ -36,7 +36,7 @@ in
|
||||||
|
|
||||||
systemd.services.wordclock-dimmer = lib.mkIf cfg.enable {
|
systemd.services.wordclock-dimmer = lib.mkIf cfg.enable {
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
after = [ "network.target" ];
|
after = [ "network.target" "mosquitto.service" ];
|
||||||
environment = with cfg.mqtt; {
|
environment = with cfg.mqtt; {
|
||||||
WORDCLOCK_MQTT_USER = user;
|
WORDCLOCK_MQTT_USER = user;
|
||||||
WORDCLOCK_MQTT_HOST = host;
|
WORDCLOCK_MQTT_HOST = host;
|
||||||
|
|
Loading…
Reference in a new issue