Read the statement by Michael Teeuw here.
SOLVED new script to install/fix PM2 config for start on boot
i have just created a script for pm2 setup only…
bash -c "$(curl -sL https://www.dropbox.com/s/cy2z7lbkpifcbrk/fixuppm2.sh?dl=0)"
this will remove any current MM definition and create a new one
install pm2 if need be, and set it up for restart on boot…
I also replicated this code in the installer to fix the problems there
let me know how it goes…
bash -c “$(curl -sL https://www.dropbox.com/s/cy2z7lbkpifcbrk/fixuppm2.sh?dl=0)”
i added a couple fixes in case pm2 was already installed but didn’t work…
I have now searched 2h where the problem lies and that with a fresh installation without deviations!
With your script it ran immediately Thank you very much.
@Smolo thanks for the feedback!
I have submitted this script as part of pull request 1789