Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.43 KB

README_EN.md

File metadata and controls

33 lines (23 loc) · 1.43 KB

Steaming Updater

An extendable auto-updater script suitable for various Steam game servers.

Features

  • Automatic update-checking by running SteamCMD, and determining if a restart is needed by reading its output;
  • Can be used on servers running GNU Screen and tmux as backend shell.
  • Uses modularized design, and is easily extendable by writing restart functions for different game servers accordingly (PRs are welcome).

Currently supported servers

Server Plugin
Don't Starve Together dstds
…… ……

Usage

First, set up the configuration files by editing updater.conf, and conf files under plugins/ directory (Check the Wiki page for details);

Then, execute ./steaming_updater.sh <Shell> <Plugin>

Example: auto-updating a Don't Starve Together server running inside tmux:

./steaming_updater.sh tmux dstds

If the script executed with no errors, it can be added into crontab as a scheduled task.

Example: To execute the auto-updater script every hour, and output logs:

0 * * * * ~/steaming_updater/steaming_updater.sh tmux dstds >> ~/steaming_updater/dstds.log 2>&1