This commit is contained in:
Stuce 2025-11-16 16:02:56 +01:00
parent 5359c5f163
commit ac5afb662b

View file

@ -133,7 +133,7 @@
after = [ "network.target" ]; after = [ "network.target" ];
serviceConfig = { serviceConfig = {
ExecStart = ExecStart =
"${pkgs.python3.pkgs.gunicorn}/bin/gunicorn -w 1 -b 0.0.0.0:${cfg.port} main:app"; "${pkgs.python3.pkgs.gunicorn}/bin/gunicorn -w 1 -b 0.0.0.0:${cfg.server.port} main:app";
Restart = "on-failure"; Restart = "on-failure";
}; };
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];