[Feature]: Additional options for monitor to be able to run a script when it restarts server
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 38/100
調査の方向性
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分
- マージ済み PR(30日)
- 100
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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
cdnjs/packages#2225 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
good first issue help wanted testing
難易度 1/5 1時間未満 初心者へのやさしさ 78/100