Created
September 3, 2013 19:23
-
-
Save csmr/6428392 to your computer and use it in GitHub Desktop.
Sorensen's "run node as production"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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