How to upgrade/update Profit Trailer

When a new version of Profit Trailer gets released, it’s a good idea to upgrade.  It may contain bug fixes, security patches, and new features.

Log into your VPS/Pi and run the following commands

Download files

cd /var/opt
sudo rm -r ProfitTrailer
rm ProfitTrailer.zip
sudo wget https://download.profittrailer.com/ProfitTrailer.zip
sudo unzip ProfitTrailer.zip
sudo mv ProfitTrailer-* ProfitTrailer

Update bot1

pm2 stop bot1
cp /var/opt/ProfitTrailer/ProfitTrailer.jar /var/opt/bot1
sudo chmod +x /var/opt/bot1/ProfitTrailer.jar 
pm2 start bot1

Update Bot2


pm2 stop bot2
cp /var/opt/ProfitTrailer/ProfitTrailer.jar /var/opt/bot2
sudo chmod +x /var/opt/bot2/ProfitTrailer.jar 
pm2 start bot2

Update bot 3


pm2 stop bot3
cp /var/opt/ProfitTrailer/ProfitTrailer.jar /var/opt/bot3
sudo chmod +x /var/opt/bot3/ProfitTrailer.jar 
pm2 start bot3

Update bot4

pm2 stop bot4
cp /var/opt/ProfitTrailer/ProfitTrailer.jar /var/opt/bot4
sudo chmod +x /var/opt/bot4/ProfitTrailer.jar 
pm2 start bot4

Update bot5

pm2 stop bot5
cp /var/opt/ProfitTrailer/ProfitTrailer.jar /var/opt/bot5
sudo chmod +x /var/opt/bot5/ProfitTrailer.jar 
pm2 start bot5