I hereby claim:
- I am okbel on github.
- I am okbel (https://keybase.io/okbel) on keybase.
- I have a public key whose fingerprint is FF23 2330 AD41 61EE FBD5 F420 D8F3 259E DBB9 3FCD
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
(base64 /dev/urandom | tr -d '/+' | head -c 32 | tr '[:upper:]' '[:lower:]') |
pm2 > forever | |
Basically it took me less than five minutes to configure pm2 while foreverjs took ... forever ( > 30 mins ) | |
The reason behind it: pm2 allows you to name your process the moment you are starting it. So, you can handle it by just | |
calling it and does not create several instances without reason. | |
Proof: | |
forever start --uid "server" server.js ----- pm2 start server.js -n server | |
## This creates a new instance ##This recognizes the old instance and does not create another |