GameServerManagers / GameServerManagers/LinuxGSM

[Feature]: Additional options for monitor to be able to run a script when it restarts server

Open
#4,554 3 comments 0 reactions 0 assignees View on GitHub
command: monitor game: Rust info: alerts type: feature
Dominant language
Shell
Stars
4.9k
Forks
864
PR merge metrics
No merged PRs in 30d

Description

### 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.