[Feature]: Additional options for monitor to be able to run a script when it restarts server
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 38/100
Hướng nghiên cứu
Bắt đầu từ điểm vào của lệnh monitor và phần xử lý rustserver.cfg được mô tả trong issue. Theo dõi nơi máy chủ đã dừng được phát hiện và khởi động lại, sau đó xác định đường dẫn cấu hình cho một script chạy trước khi khởi động lại. Được xem là hoàn tất khi script đã cấu hình chạy trước khi monitor khởi động lại máy chủ và hành vi khởi động lại hiện có vẫn được giữ nguyên.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Shell
- Star
- 4.9k
- Fork
- 866
- Merge trung bình
- 17 giờ 58 phút
- Pull request đã merge (30 ngày)
- 100
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của GameServerManagers/LinuxGSM
-
command: update-lgsm distro: Debian engine: source2 game: Counter-Strike 2 regression: yes reproducible: always severity: low type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
GameServerManagers/LinuxGSM#5242 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
distro: Debian distro: Ubuntu engine: spark game: Natural Selection 2 priority: high scope: single game type: feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
GameServerManagers/LinuxGSM#5241 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
command: send distro: Ubuntu engine: spark game: Natural Selection 2 priority: high scope: single game type: feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
GameServerManagers/LinuxGSM#5240 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
command: monitor distro: Ubuntu engine: spark game: Natural Selection 2 info: query reproducible: unable severity: critical type: bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
GameServerManagers/LinuxGSM#5238 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
engine: null game: Teamspeak 3
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 66/100
GameServerManagers/LinuxGSM#5237 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của GameServerManagers/LinuxGSM
Issue tương tự
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
varnish/helm-varnish#173 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bump version [nginx2root]Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Update: sanitize-htmlĐang mở📦 Update Request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
cdnjs/packages#2225 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
good first issue help wanted testing
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100