Disable rag_api startup script
This prevents a fresh install of postgres from even starting. There has to be a better way to run these commands.
This commit is contained in:
parent
ff0c139dc8
commit
435b4970cb
1 changed files with 2 additions and 2 deletions
|
|
@ -157,7 +157,7 @@ in
|
|||
};
|
||||
wantedBy = ["multi-user.target"];
|
||||
};
|
||||
systemd.services.postgresql.serviceConfig.ExecStartPost =
|
||||
/*systemd.services.postgresql.serviceConfig.ExecStartPost =
|
||||
let sqlFile = pkgs.writeText "librechat-pgvectors-setup.sql" ''
|
||||
CREATE EXTENSION IF NOT EXISTS vector;
|
||||
|
||||
|
|
@ -168,7 +168,7 @@ in
|
|||
'';
|
||||
in [''
|
||||
${lib.getExe' config.services.postgresql.package "psql"} -d "rag_api" -f "${sqlFile}"
|
||||
''];
|
||||
''];*/
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /opt/librechat 0755 librechat librechat"
|
||||
"d /opt/meilisearch 0755 meilisearch meilisearch"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue