Skip to content

Instantly share code, notes, and snippets.

@yasudacloud
Created April 5, 2026 10:38
Show Gist options
  • Select an option

  • Save yasudacloud/7f4782ad6e776f3ce0325221659c0f32 to your computer and use it in GitHub Desktop.

Select an option

Save yasudacloud/7f4782ad6e776f3ce0325221659c0f32 to your computer and use it in GitHub Desktop.
emdash pm2 config
module.exports = {
apps: [
{
name: "emdash",
cwd: "/home/debian/emdash-example",
script: "dist/server/entry.mjs",
interpreter: "node",
instances: 1,
exec_mode: "fork",
env: {
NODE_ENV: "production",
PORT: "1337"
},
},
],
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment