When a new version of Profit Trailer gets released, its a good idea to upgrade. It may contain bug fixes, security patches, and new features.
To find the current version of Profir Trailer visit https://github.com/taniman/profit-trailer/releases
To upgrade your current version of Profit Trailer quickly on linux, log into your linux VPS via SSH, and just copy and paste these commands below one line at a time and press enter after each one.
- pm2 stop 0
- cd /var/opt
- rm ProfitTrailer.zip
- wget https://github.com/taniman/profit-trailer/releases/download/v22.214.171.124/ProfitTrailer.zip
- rm /var/opt/ProfitTrailer/ProfitTrailer.jar
- unzip -p ProfitTrailer.zip ProfitTrailer/ProfitTrailer.jar > ProfitTrailer/ProfitTrailer.jar
- chmod +x /var/opt/ProfitTrailer/ProfitTrailer.jar
- pm2 reload 0
- nano ptup <press enter>
- highlight the lines above and let click in the nano window (This will paste the text)
- hit CRTL O to save file
- HIt CRTL X to exit nano
- type sh ptup <press enter>
This will do everything for you. In future when a new version comes out. Just nano ptup file and change the version number to the version number you want to upgrade too.