Skip to content

Commit

Permalink
limited installer to run pm2 on a single process
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherpickering committed Jun 20, 2023
1 parent 317c6aa commit 64c09eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_includes/installer/requests/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ exporter MEILISEARCH_URL=http://localhost:$MEILI_PORT
exporter MEILI_HTTP_ADDR=localhost:$MEILI_PORT

# Start web process.
dotenv -v PORT=$PORT -- pm2 start node -i -1 --name="$APP_PROCESS" --merge-logs -- ./build/server.js
dotenv -v PORT=$PORT -- pm2 start node --name="$APP_PROCESS" --merge-logs -- ./build/server.js

# Start meili process.
dotenv -- pm2 start meilisearch --name="$MEILI_PROCESS"
Expand Down

0 comments on commit 64c09eb

Please sign in to comment.