Skip to content

Latest commit

 

History

History
44 lines (25 loc) · 1.98 KB

UPDATE_GUIDE.md

File metadata and controls

44 lines (25 loc) · 1.98 KB

UPDATE GUIDE

This file shows you, how you can update the TS3UpdateScript.

Table of content

How-To Update manually

  1. Check the requirements for this script (can be found in README.md)
  2. Read the docs/CHANGELOG.md (important information are marked with a exclamation mark ("!"))
  3. Download the latest version from https://github.com/TS3Tools/TS3UpdateScript

root@tux:~# wget https://github.com/TS3Tools/TS3UpdateScript/archive/main.zip

  1. Unzip and replace all old TS3UpdateScript files excluding the configs/ directory with the latest version

root@tux:~# unzip main.zip TS3UpdateScript-main/* -x TS3UpdateScript-main/configs/*

  1. Check, if your used parameters have been changed or not and adjust them, if needed (read docs/CHANGELOG.md therefore)

How-To Update automate

  1. Run the script with the parameter '--update-script'

root@tux:~# ./TS3UpdateScript --update-script

  1. The script will check for newer version and will ask you, if you want to update the script. Enter 'y' or 'yes', if you want to start the update process for the script
  2. Check, if your used parameters have been changed or not and adjust them, if needed (read docs/CHANGELOG.md therefore)

How-To Update automate using cronjob

  1. Install a new cronjob with your required parameters:

root@tux:~# ./TS3UpdateScript --install-cronjob --check --delete-old-logs

  1. Make sure, that you have installed following cronjob line for automated updates of the TS3UpdateScript:

45 2 * * 1 root /path/to/TS3UpdateScript --update-script

The next cronjob will check for a newer version and will update the TS3UpdateScript if needed. Please always take a look at the docs/CHANGELOG.md and requirements.