Skip to content

bug: keep practice servers from hibernating - #218

Merged
lukepolo merged 1 commit into
mainfrom
claude/loving-allen-zypare
Oct 6, 2026
Merged

lukepolo merged 1 commit into
mainfrom
claude/loving-allen-zypare

Conversation

@lukepolo

@lukepolo lukepolo commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Practice servers run UtilityPractice instead of the FiveStack match plugin, so MatchService.StayAwake never runs on them and nothing turns hibernation off. They fell back to the base install's server.cfg (symlinked in by create_symlinks) and the engine default for sv_hibernate_when_empty.

For SERVER_TYPE=Practice, both setup.sh scripts (CounterStrikeSharp and SwiftlyS2) now copy the base server.cfg in as a real file and append sv_hibernate_when_empty 0.

Ranked (dedicated / on-demand) and public servers are unchanged:

  • on-demand ranked: ranked.server.cfg keeps 0, since HIBERNATE_WHEN_EMPTY only applies without a MATCH_ID
  • dedicated ranked: opt-in via HIBERNATE_WHEN_EMPTY
  • public: public.server.cfg keeps 1

A practice server runs UtilityPractice instead of the match plugin, so
nothing holds it awake and it fell back to the base server.cfg and the
engine's default. Copy that cfg in as a real file with
sv_hibernate_when_empty 0 appended.
@lukepolo
lukepolo merged commit a71afac into main Oct 6, 2026
6 checks passed
@lukepolo
lukepolo deleted the claude/loving-allen-zypare branch October 6, 2026 19:20
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