librechat-oci #44

Merged
sid merged 4 commits from develop into release-25.11 2026-05-18 18:41:53 +02:00
Showing only changes of commit 2323c97d89 - Show all commits

View file

@ -28,6 +28,12 @@ in
default = null;
};
port = mkOption {
type = types.port;
default = 8000;
description = "Port on which the mcpo service should listen.";
};
user = mkOption {
type = types.str;
description = "The user the mcpo service will run as.";
@ -100,7 +106,7 @@ in
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart = "${getExe cfg.package} --config ${configFile}";
ExecStart = "${getExe cfg.package} --port ${cfg.port} --config ${configFile}";
Restart = "on-failure";
User = cfg.user;
Group = cfg.group;