Read the statement by Michael Teeuw here.
fixuppm2.sh
-
@Assassins -g means it’s available globally across the system
You can execute it in every folder
AND globally means adding to the /usr folder tree which require root authority (sudo)Without means you have to be in the folder tree where you did npm install, AND If the install folder is NOT in the path, then you have to prefix pm2 with the correct path EVERY TIME
I think this also breaks boot time support which is the primary value, in my opinion
-
@sdetweil said in fixuppm2.sh:
@Assassins -g means it’s available globally across the system
You can execute it in every folder
AND globally means adding to the /usr folder tree which require root authority (sudo)Without means you have to be in the folder tree where you did npm install, AND If the install folder is NOT in the path, then you have to prefix pm2 with the correct path EVERY TIME
I think this also breaks boot time support which is the primary value, in my opinion
But your script works fine now that I have installed pm2
-
A Assassins has marked this topic as solved
-
@Assassins which script?
And how did you install it. -g or not -
@sdetweil said in fixuppm2.sh:
@Assassins which script?
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)”
And how did you install it. -g or not
With -g
My second test was without -g and it works there too -
@Assassins weird
