weather: use source of truth for port
This commit is contained in:
parent
49d5f1200c
commit
a094145cec
@ -96,7 +96,7 @@ in
|
|||||||
];
|
];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
type = "simple";
|
type = "simple";
|
||||||
ExecStart = "${pkgs.weather}/bin/weather";
|
ExecStart = "${pkgs.weather}/bin/weather -l 127.0.0.1:${toString myData.ports.exporters.weather}";
|
||||||
ProtectSystem = "strict";
|
ProtectSystem = "strict";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user