Skip to content

Instantly share code, notes, and snippets.

@warpdesign
Created June 16, 2014 08:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save warpdesign/5cd43e7100695c32a31c to your computer and use it in GitHub Desktop.
Save warpdesign/5cd43e7100695c32a31c to your computer and use it in GitHub Desktop.
Passing parameters to your script file
# -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