-
Notifications
You must be signed in to change notification settings - Fork 82
Description
Hi John,
I’m running CS2 servers on Pelican and I’ve been using your image/repo at user request. I’m trying to reduce per-server disk usage while still staying aligned with your setup.
For Vanilla this vpk-sync works wonders.
https://github.com/K4ryuu/CS2-Egg/blob/main/docs/features/vpk-sync.md
The issue I’m running into is: I can’t find a clean way to run a quick “file check / sync” step before your SteamCMD logic executes in entry.sh, within Pelican/Docker. Pelican startup commands end up being passed to the container CMD, but the image entry flow already starts SteamCMD by then.
Is there an intended hook point (env var, pre/post script, or an overridable entry path) that would let me run a script before SteamCMD? Even something like a supported PRE_STEAMCMD_HOOK would solve it cleanly.
Of course I can wrap or fork the image, but I’d prefer to do it in a way you’d consider upstream-friendly so I can keep using and supporting your repo without maintaining a long-lived fork. If not, ill give up and do it the hard way haha.