Skip to content

Conversation

@buroff1
Copy link

@buroff1 buroff1 commented Apr 16, 2025

This PR includes a full modernization of the TekBASE Bash script suite, aligning with current standards and lead requirements.

✅ Key Changes:

  • Centralized Logging: All scripts now write to logs/<year>_<month>.txt using a common log path setup
  • Unified Routines: Structured and reusable start, stop, install, backup, and update functions across games, streams, and VMs
  • Symlink-Based Game Image Deployment:
    • Base game images are extracted once into /home/server/<game>
    • Per-customer server directories use symlinks but retain editable files (configs, logs)
  • Docker Support (optional where applicable):
    • Minecraft, HLStats, and Counter-Strike now optionally run in Docker containers
  • Screen Session Handling: Clean management of screen names and fallback checks
  • Modern Bash Practices: Quoting, conditional checks, variable usage, permissions, and safety
  • Preserved Original Logic: All legacy functionality and behaviors remain intact

… support

- Refactored all core Bash scripts
- Implemented centralized logging with monthly log files
- Introduced structured routines for start, stop, install, backup, and update
- Added optional Docker support where applicable (e.g. Minecraft, HLStats, Counter-Strike)
- Replaced ZIP-based game downloads with shared base image system using symlinks (/home/server/<game>)
- Ensured customer-specific config/log files remain editable and isolated
- Standardized screen session handling and restart scripts
- Updated FTP, daemon, quota, and VServer logic for safety and compatibility
- Verified no original functionality was lost; preserved all legacy features
@huly-for-github
Copy link

Connected to Huly®: TB-25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant