Created
June 16, 2014 08:47
-
-
Save warpdesign/5cd43e7100695c32a31c to your computer and use it in GitHub Desktop.
Passing parameters to your script file
This file contains hidden or 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
# -p 8080 will be sent to your myServer.js and accessible through process.argv array | |
pm2 start myServer.js -- -p 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment