alerta-server: move to all-packages.nix and use buildPythonApplication

This commit is contained in:
Robert Schütz
2021-02-28 12:25:47 +01:00
parent d0328678e9
commit 3fcd9361b5
4 changed files with 9 additions and 13 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ in
ALERTA_SVR_CONF_FILE = alertaConf;
};
serviceConfig = {
ExecStart = "${pkgs.python36Packages.alerta-server}/bin/alertad run --port ${toString cfg.port} --host ${cfg.bind}";
ExecStart = "${pkgs.alerta-server}/bin/alertad run --port ${toString cfg.port} --host ${cfg.bind}";
User = "alerta";
Group = "alerta";
};