[Feature]: Additional options for monitor to be able to run a script when it restarts server
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
从 monitor 命令入口点以及 issue 中描述的 rustserver.cfg 处理开始。跟踪检测到已停止服务器并将其重新启动的位置,然后定义重启前脚本的配置路径。当配置的脚本在 monitor 重启服务器之前运行,并且现有的重启行为保持不变时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
User story
As server admin I want to improve automation for monitoring
Game
Rust but this feature may assist other games too
Linux distro
Other
Command
command: monitor
Further information
Rust fas a plugin named SmoothRestarter that can stop the server to allow the controlling script to perform an update for rust or oxide. It alerts the players to let them get back to base etc. If I allow it to stop the server when an oxide update is available, it stops the server, then monitor restarts it, but as I cant have it run another script, oxide is not updated. This cycle continues forever. Currently I have had to disable this feature as LinuxGSM doesnt appear to have an option to execute a script when monitor detects a stopped server.
It would be very useful if an option was added to rustserver.cfg to be able to specify a script to be run just prior to the restart to allow any updates to be performed.
- 主要语言
- Shell
- 星标
- 4.9k
- 派生
- 866
- 平均合并
- 17 小时 58 分钟
- 30 天内合并 PR
- 100
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
GameServerManagers/LinuxGSM 的其他 Issue
-
command: update-lgsm distro: Debian engine: source2 game: Counter-Strike 2 regression: yes reproducible: always severity: low type: bug
难度 2/5 1-3 小时 新手友好度 84/100
GameServerManagers/LinuxGSM#5242 ·
维护者通常 1 天内回复
-
distro: Debian distro: Ubuntu engine: spark game: Natural Selection 2 priority: high scope: single game type: feature
难度 4/5 3-5 天 新手友好度 45/100
GameServerManagers/LinuxGSM#5241 ·
维护者通常 1 天内回复
-
command: send distro: Ubuntu engine: spark game: Natural Selection 2 priority: high scope: single game type: feature
难度 4/5 3-5 天 新手友好度 48/100
GameServerManagers/LinuxGSM#5240 ·
维护者通常 1 天内回复
-
command: monitor distro: Ubuntu engine: spark game: Natural Selection 2 info: query reproducible: unable severity: critical type: bug
难度 3/5 1-2 天 新手友好度 35/100
GameServerManagers/LinuxGSM#5238 ·
维护者通常 1 天内回复
-
engine: null game: Teamspeak 3
难度 3/5 半天 新手友好度 66/100
GameServerManagers/LinuxGSM#5237 ·
维护者通常 1 天内回复
查看 GameServerManagers/LinuxGSM 的全部 Issue
相似的 Issue
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 84/100
varnish/helm-varnish#173 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
-
📦 Update Request
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 3 天内回复
-
good first issue help wanted testing
难度 1/5 1 小时以内 新手友好度 78/100