@jer78 If you are still looking to get this configured see this thread here. I had (what I believe to be) the exact same request and I got it working with this.
Hi all, well after countless trying ive given up and now asking for help. my MM is working perfect and the only troubling issue in my top_right section, i have a few things in there under the config but i would like to extend the left border of my top_right a little more left if thats possible. i have too much open space from the center to the right side. i will not be resizing fonts using the shift+ +/- any longer so that wont be an issue is manually adjusted. thanks all in advance and have a look here what im refering to
I just want to add, that using pm2 flush in a script (for restart purposes) may not work as expected. The next operation will start immediately, before flush completes, and thus the new thread will already start writing to the file, blocking it from getting cleared.
You need to wait for the entire thread to finish, like this:
pm2 flush; pm2 start mm; echo "this doesn't clear the logs";
pm2 flush && pm2 start mm; echo "now it works";
I’ve just overhauled the installer script.
It now checks if Node needs to be upgraded or installed and gives a bit more visual feedback. It will also prevent overwriting older installations.
If you can, please test it and let me know if it works for you.
I have an API on my website which retrieves the latest version directly from the NodeJS website.
Feel free to use it: http://api.jordidepoortere.com/nodejs-latest/
Example usage in the script:
NODE_LATEST=$(curl -l http://api.jordidepoortere.com/nodejs-latest/)