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 committed Apr 22, 2024
1 parent bc56377 commit 371e12d
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 371e12d

Please sign in to comment.