I\'m trying to use pm2 to manage a node.js cluster
pm2 start . -i 3
I\'m currently running the app on heroku and using a Procfile with the abov
You need to use -- to tell pm2 to stop parsing his options and give the rest to the program, then when you spawn direct binary, you need to tell pm2 that you don't want to use nodejs, so :
pm2 start rethinkdb --interpreter none -- --port 8082
You see you need -- --port 8082
-- --port 8082