Last updated
Last updated
LinuxGSM comes with an game server update
command. All games servers are supported, as well as some other servers such as Teamspeak, Minecraft, Mumble & Factorio.
Standard: ./gameserver update
Short: ./gameserver u
Update will check for any available update, taking no action if no update is available. If there is an update it will apply the update, restarting the server if already running.
It is possible to update a game server on start, by editing the LinuxGSM config.
updateonstart="on"
This will take longer for the game server to start but can be useful for servers that are kept offline most of the time.
A can be set to run update
at any given time.
To edit cronjobs, type:
crontab -e
A cronjob can be run as the gameserver user
or as root
, this choice is down to personal preference. Remember to amend the examples to match a specific game server.
Here is an example of a user based cronjob to check for an update once an hour.
Here is an example of a root based cronjob to check for an update once an hour.
The extra su - username -c
indicates which user to run the script as.
It is recommended to check for updates once per hour.
is a great resource to generate cronjobs.