[PR #592] [MERGED] Consistant checks #3135

Closed
opened 2026-02-27 03:53:25 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/GameServerManagers/LinuxGSM/pull/592
Author: @dgibbs64
Created: 12/29/2015
Status: Merged
Merged: 12/29/2015
Merged by: @dgibbs64

Base: masterHead: checks


📝 Commits (10+)

  • ff3017f removed spaces
  • c2c5693 Moving checks to start of commands
  • 57cbdce else
  • 93e3685 Merge remote-tracking branch 'refs/remotes/origin/master' into checks
  • cd42c51 removed echo
  • f7e2530 added newline
  • 9e38714 start now only using check.sh
  • 496463f Added ability to be logged if available.
  • 3ca2d09 Merged check_steamuser.sh
  • 6f7aca2 changed to using function_selfname over getopt

📊 Changes

26 files changed (+208 additions, -305 deletions)

View changed files

📝 functions/check.sh (+46 -30)
📝 functions/check_ip.sh (+23 -19)
📝 functions/check_root.sh (+3 -0)
📝 functions/check_steamcmd.sh (+21 -3)
📝 functions/check_systemdir.sh (+3 -0)
📝 functions/command_backup.sh (+3 -2)
📝 functions/command_console.sh (+3 -3)
📝 functions/command_debug.sh (+3 -4)
📝 functions/command_details.sh (+25 -148)
📝 functions/command_dev_debug.sh (+3 -1)
📝 functions/command_dev_detect_deps.sh (+3 -2)
📝 functions/command_email_test.sh (+3 -3)
📝 functions/command_install.sh (+3 -1)
📝 functions/command_monitor.sh (+3 -5)
📝 functions/command_start.sh (+7 -15)
📝 functions/command_stop.sh (+3 -6)
📝 functions/command_validate.sh (+2 -4)
📝 functions/compress_unreal2_maps.sh (+3 -1)
📝 functions/compress_ut99_maps.sh (+3 -1)
📝 functions/core_functions.sh (+7 -8)

...and 6 more files

📄 Description

all checks are now managed by checks.sh and run at the start of a command. Checks will either resolve or halt the script before anything happens that could cause the script to break or not work as intended.

More checks can be added at a later date in a simple manor but just adding it to checks.sh and telling specifying the commands to check on.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/GameServerManagers/LinuxGSM/pull/592 **Author:** [@dgibbs64](https://github.com/dgibbs64) **Created:** 12/29/2015 **Status:** ✅ Merged **Merged:** 12/29/2015 **Merged by:** [@dgibbs64](https://github.com/dgibbs64) **Base:** `master` ← **Head:** `checks` --- ### 📝 Commits (10+) - [`ff3017f`](https://github.com/GameServerManagers/LinuxGSM/commit/ff3017fd97aff1e5bf2c4e7cd99ef95054b43948) removed spaces - [`c2c5693`](https://github.com/GameServerManagers/LinuxGSM/commit/c2c5693047138c932c27b7dbb3820c86261eac51) Moving checks to start of commands - [`57cbdce`](https://github.com/GameServerManagers/LinuxGSM/commit/57cbdcee6002372c2045926c7b19a948eed2a475) else - [`93e3685`](https://github.com/GameServerManagers/LinuxGSM/commit/93e368509b5ac21eb0344ad92ba125c4916ec511) Merge remote-tracking branch 'refs/remotes/origin/master' into checks - [`cd42c51`](https://github.com/GameServerManagers/LinuxGSM/commit/cd42c51d5c014cf276a196e353c07ef7c63c72a1) removed echo - [`f7e2530`](https://github.com/GameServerManagers/LinuxGSM/commit/f7e25307e21bb90cd1a5cf333f345dfdf3125636) added newline - [`9e38714`](https://github.com/GameServerManagers/LinuxGSM/commit/9e38714872713af043b6473d5daafee4144c88f1) start now only using check.sh - [`496463f`](https://github.com/GameServerManagers/LinuxGSM/commit/496463f45c278ffa2f2ad12b9d419ffbb849861d) Added ability to be logged if available. - [`3ca2d09`](https://github.com/GameServerManagers/LinuxGSM/commit/3ca2d094a85f87a9a4aaf4de44c4f24fd53ae007) Merged check_steamuser.sh - [`6f7aca2`](https://github.com/GameServerManagers/LinuxGSM/commit/6f7aca25b3ad80c2047ddc731c2f0d66835bccb3) changed to using function_selfname over getopt ### 📊 Changes **26 files changed** (+208 additions, -305 deletions) <details> <summary>View changed files</summary> 📝 `functions/check.sh` (+46 -30) 📝 `functions/check_ip.sh` (+23 -19) 📝 `functions/check_root.sh` (+3 -0) 📝 `functions/check_steamcmd.sh` (+21 -3) 📝 `functions/check_systemdir.sh` (+3 -0) 📝 `functions/command_backup.sh` (+3 -2) 📝 `functions/command_console.sh` (+3 -3) 📝 `functions/command_debug.sh` (+3 -4) 📝 `functions/command_details.sh` (+25 -148) 📝 `functions/command_dev_debug.sh` (+3 -1) 📝 `functions/command_dev_detect_deps.sh` (+3 -2) 📝 `functions/command_email_test.sh` (+3 -3) 📝 `functions/command_install.sh` (+3 -1) 📝 `functions/command_monitor.sh` (+3 -5) 📝 `functions/command_start.sh` (+7 -15) 📝 `functions/command_stop.sh` (+3 -6) 📝 `functions/command_validate.sh` (+2 -4) 📝 `functions/compress_unreal2_maps.sh` (+3 -1) 📝 `functions/compress_ut99_maps.sh` (+3 -1) 📝 `functions/core_functions.sh` (+7 -8) _...and 6 more files_ </details> ### 📄 Description all checks are now managed by checks.sh and run at the start of a command. Checks will either resolve or halt the script before anything happens that could cause the script to break or not work as intended. More checks can be added at a later date in a simple manor but just adding it to checks.sh and telling specifying the commands to check on. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 03:53:25 +03:00
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#3135
No description provided.