Skip to content

Python script to automate the process of updating a teamspeak3 server.

License

Notifications You must be signed in to change notification settings

flopana/Teamspeak3-Server-Updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Teamspeak3 Server Updater

License: GPL v3

This python script is used to update your Teamspeak3 Server though it's not a difficult task having a script is convenient. The python script also uses a local sqlite database for tracking the updates to avoid updating the server if not necessary.

Documentation

https://flopana.github.io/teamspeak3-server-updater-docs/

Installation

This script requires Python3 and pip to be installed.

Also this scripts folder should reside beside the teamspeak server folder for example:

└── usr
   └── local
      ├── teamspeak3-server-updater
      └── teamspeak3-server_linux_amd64
$ git clone https://github.com/flopana/teamspeak3-server-updater.git
$ cd teamspeak3-server-updater
$ pip install -r requirements.txt

Usage

$ python3 main.py

There are also options available

usage: python3 main.py [-h] [-v] [-f] [-u] [-a ARCHITECTURE]
Options:
  -h, --help                              Displays this message
  -v, --verbose                           Prints verbose output
  -f, --force                             Forces an update of the teamspeak server
  -u, --update                            The script updates itself
  -a, --architecture                      Lets you define the architecure (amd64 or x86)

Advanced Usage:

Since the script also checks wether or not it should update you can automate it. The script will also update itself.

Example cronjob:

# Executes every Monday on 3AM
0 3 * * 1 cd /path/to/script && python3 main.py -u >/dev/null 2>&1

About

Python script to automate the process of updating a teamspeak3 server.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages