-
-
Notifications
You must be signed in to change notification settings - Fork 830
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow for pre/post/error script hooks after any option #4299
base: develop
Are you sure you want to change the base?
Conversation
Wrong linked issue, the correct issue is #2764 |
accompanying documentation PR GameServerManagers/LinuxGSM-Docs#96 |
What an interesting idea. I would love to know a few more cases that people might do with it. Opening ports is a really good idea. |
The user in #2764, although it was 3 years ago, said that there was a bug in SteamCMD with installing mods that are > 1GiB in size, and he wanted to download it using the script instead on Post-Update or Pre-Start. Off the top of my head, I used to run a small Minecraft server and I wrote a wrapper script to shut off the anti-virus while the server was running to save on resources. Or Post-Backup it uploads the backup to a service and deletes the local backup. |
891ed8f
to
ca184e3
Compare
7a72c04
to
f28a4e5
Compare
could a single hook be added at the very beginning of linuxgsm.sh? Lines 341 to 344 in 8dfed10
|
Description
Allows custom scripts to be run before or after an LGSM command runs. Also in case of error.
I use this to open ports in my firewall.
Fixes #2764
Type of change
Checklist
PR will not be merged until all steps are complete.
develop
branch as its base.Documentation
If documentation does need updating either update it by creating a PR (preferred) or request a documentation update.
Thank you for your Pull Request!