Skip to content

Commit

Permalink
fix: set env for linux service to trigger sqlite mode
Browse files Browse the repository at this point in the history
  • Loading branch information
David Zwart authored and davidzwa committed Nov 13, 2024
1 parent 8f9cc25 commit c41aa10
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,20 @@ const svc = new Service({
script: join(rootPath, "dist/index.js"),
nodeOptions: ["--harmony", "--max_old_space_size=4096"],
workingDirectory: rootPath,
env: [
{
name: "ENABLE_EXPERIMENTAL_TYPEORM",
value: "true",
},
{
name: "DATABASE_PATH",
value: "./database",
},
{
name: "DATABASE_FILE",
value: "fdm-monster.sqlite",
},
],
});

svc.on("install", function () {
Expand Down

0 comments on commit c41aa10

Please sign in to comment.