allow for pre/post/error script hooks after any option#4299
allow for pre/post/error script hooks after any option#4299ffariajr wants to merge 1 commit intoGameServerManagers:developfrom
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.
developbranch 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!