mirror of
https://github.com/teslamate-org/teslamate.git
synced 2026-01-24 21:06:08 +08:00
fix(nix): wait for mosquitto to start before starting teslamate (#4419)
After reboot, I noticed a number of errors from teslamate, because it started before mosquitto started.
This commit is contained in:
@@ -173,6 +173,7 @@ in
|
|||||||
after = [
|
after = [
|
||||||
"network.target"
|
"network.target"
|
||||||
"postgresql.service"
|
"postgresql.service"
|
||||||
|
"mosquitto.service"
|
||||||
];
|
];
|
||||||
wantedBy = mkIf cfg.autoStart [ "multi-user.target" ];
|
wantedBy = mkIf cfg.autoStart [ "multi-user.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
|||||||
Reference in New Issue
Block a user