Skip to content

Instantly share code, notes, and snippets.

@csmr
Created September 3, 2013 19:23
Show Gist options
  • Save csmr/6428392 to your computer and use it in GitHub Desktop.
Save csmr/6428392 to your computer and use it in GitHub Desktop.
Sorensen's "run node as production"
02:27 < sorensen> export NODE_ENV="production"
02:27 < sorensen> exec chpst -u user node /<path>/app.js 2>&1 >> /<path>/process.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment