update version of PM2 installed
parent
41f94025f5
commit
9f3add3489
|
@ -46,7 +46,7 @@ npm install --unsafe-perm
|
|||
# sudo npm audit fix --force
|
||||
echo "============="
|
||||
echo "Shinobi - Install PM2"
|
||||
npm install pm2@3.0.0 -g
|
||||
npm install pm2@latest -g
|
||||
if (! -e "./conf.json" ) then
|
||||
cp conf.sample.json conf.json
|
||||
endif
|
||||
|
|
|
@ -18,7 +18,7 @@ npm i npm -g
|
|||
#There are some errors in here that I don't want you to see. Redirecting to dev null :D
|
||||
npm install --unsafe-perm > & /dev/null
|
||||
# npm audit fix --force > & /dev/null
|
||||
npm install pm2@3.0.0 -g
|
||||
npm install pm2@latest -g
|
||||
cp conf.sample.json conf.json
|
||||
cp super.sample.json super.json
|
||||
pm2 start camera.js
|
||||
|
|
|
@ -18,7 +18,7 @@ sudo npm install --unsafe-perm
|
|||
# sudo npm audit fix --unsafe-perm
|
||||
echo "============="
|
||||
echo "Shinobi - Install PM2"
|
||||
sudo npm install pm2@3.0.0 -g
|
||||
sudo npm install pm2@latest -g
|
||||
if [ ! -e "./conf.json" ]; then
|
||||
sudo cp conf.sample.json conf.json
|
||||
fi
|
||||
|
|
|
@ -40,7 +40,7 @@ sudo npm install --unsafe-perm
|
|||
# sudo npm audit fix --unsafe-perm
|
||||
echo "============="
|
||||
echo "Shinobi - Install PM2"
|
||||
sudo npm install pm2@3.0.0 -g
|
||||
sudo npm install pm2@latest -g
|
||||
if [ ! -e "./conf.json" ]; then
|
||||
sudo cp conf.sample.json conf.json
|
||||
fi
|
||||
|
|
|
@ -89,7 +89,7 @@ npm install --unsafe-perm
|
|||
# sudo npm audit fix --force
|
||||
echo "============="
|
||||
echo "Shinobi - Install PM2"
|
||||
sudo npm install pm2@3.0.0 -g
|
||||
sudo npm install pm2@latest -g
|
||||
echo "Shinobi - Finished"
|
||||
sudo chmod -R 755 .
|
||||
touch INSTALL/installed.txt
|
||||
|
|
|
@ -154,7 +154,7 @@ echo "============="
|
|||
|
||||
#Install PM2
|
||||
echo "Shinobi - Install PM2"
|
||||
sudo npm install pm2@3.0.0 -g
|
||||
sudo npm install pm2@latest -g
|
||||
if [ ! -e "./conf.json" ]; then
|
||||
cp conf.sample.json conf.json
|
||||
fi
|
||||
|
|
|
@ -100,7 +100,7 @@ sudo npm install --unsafe-perm
|
|||
# sudo npm audit fix --force
|
||||
echo "============="
|
||||
echo "Shinobi - Install PM2"
|
||||
sudo npm install pm2@3.0.0 -g
|
||||
sudo npm install pm2@latest -g
|
||||
echo "Shinobi - Finished"
|
||||
sudo chmod -R 755 .
|
||||
touch INSTALL/installed.txt
|
||||
|
|
|
@ -100,7 +100,7 @@ sudo npm install --unsafe-perm
|
|||
# sudo npm audit fix --force
|
||||
echo "============="
|
||||
echo "Shinobi - Install PM2"
|
||||
sudo npm install pm2@3.0.0 -g
|
||||
sudo npm install pm2@latest -g
|
||||
echo "Shinobi - Finished"
|
||||
sudo chmod -R 755 .
|
||||
touch INSTALL/installed.txt
|
||||
|
|
|
@ -112,7 +112,7 @@ sudo npm install --unsafe-perm
|
|||
# sudo npm audit fix --force
|
||||
echo "============="
|
||||
echo "Shinobi - Install PM2"
|
||||
sudo npm install pm2@3.0.0 -g
|
||||
sudo npm install pm2@latest -g
|
||||
echo "Shinobi - Finished"
|
||||
sudo chmod -R 755 .
|
||||
touch INSTALL/installed.txt
|
||||
|
|
Loading…
Reference in New Issue