rewrite weather in go

This commit is contained in:
2024-09-15 07:36:17 +03:00
parent 65297845e5
commit 605d340aa0
6 changed files with 142 additions and 56 deletions

View File

@@ -95,8 +95,8 @@ in
bash
];
serviceConfig = {
type = "notify";
ExecStart = "${pkgs.systemd}/bin/systemd-socket-activate -a --inetd -l ${toString myData.ports.exporters.weather} ${../../pkgs/weather/main}";
type = "simple";
ExecStart = "${pkgs.weather}/bin/weather";
ProtectSystem = "strict";
};
};