gameservergame-servergame-servershacktoberfestdedicated-game-serversgamelinuxgsmserverbashgaminglinuxmultiplayer-game-servershell
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tree:
103eeafabf
dependabot/github_actions/actions/add-to-project-2.0.0
dependabot/github_actions/actions/cache-6
dependabot/github_actions/actions/checkout-7
dependabot/github_actions/actions/github-script-9
details-outputs
develop
feature/4117-steamcmfauth
feature/4426-tf-fixes
feature/4738-humanitz
feature/786-online-players-check
feature/alerts-refactor
feature/dst-changes
feature/git-branch-check
feature/mcv
feature/sendgrid
gmod-content-mounting
master
server-instances
161030
161113
161113.1
161113.2
161118
161125
161221
161224
170110
170110.1
170110.2
170128
170128.1
170212
170219
170219.1
170305
170305.1
170430
170501
170619
170710
170710.1
170710.2
170803
170803.1
170803.2
170926
170926.1
171014
171216
171216.1
180313
180318
180318.1
180318.2
180318.3
180409
180409.1
180409.2
180409.3
180409.4
180409.5
180709.6
180718
180718.1
180718.2
180908
180908.1
180908.2
180908.3
181027
181027.1
181124
181216
181216.1
190106
190202
190217
190217.1
190401
190401.1
190401.2
190422
v19.10.0
v19.10.1
v19.10.2
v19.11.0
v19.12.0
v19.12.1
v19.12.2
v19.12.3
v19.12.4
v19.12.5
v19.5.3
v19.6.0
v19.7.0
v19.8.0
v19.8.1
v19.8.2
v19.8.3
v19.8.4
v19.9.0
v20.1.0
v20.1.1
v20.1.2
v20.1.3
v20.1.4
v20.1.5
v20.2.0
v20.2.1
v20.3.0
v20.3.1
v20.3.2
v20.3.3
v20.4.0
v20.4.1
v20.5.0
v20.5.1
v20.6.0
v20.6.1
v20.6.2
v21.1.0
v21.1.1
v21.1.2
v21.1.3
v21.2.0
v21.2.1
v21.2.2
v21.2.3
v21.2.4
v21.2.5
v21.3.0
v21.3.1
v21.3.2
v21.3.3
v21.4.0
v21.4.1
v21.5.0
v21.5.1
v22.1.0
v22.2.0
v22.2.1
v23.1.0
v23.2.0
v23.2.1
v23.2.2
v23.2.3
v23.3.0
v23.3.1
v23.3.2
v23.3.3
v23.3.4
v23.3.5
v23.3.6
v23.4.0
v23.5.0
v23.5.1
v23.5.2
v23.5.3
v23.6.0
v23.6.1
v23.6.2
v23.7.0
v23.7.1
v24.1.0
v24.1.1
v24.1.2
v24.1.3
v24.1.4
v24.1.5
v24.2.0
v24.2.1
v24.2.2
v24.2.3
v24.2.4
v24.3.0
v24.3.1
v24.3.2
v24.3.3
v24.3.4
v25.1.0
v25.1.1
v25.1.2
v25.1.3
v25.1.4
v25.1.5
v25.1.6
v25.2.0
v26.1.0
v26.2.0
${ noResults }
LinuxGSM/lgsm/config-default/config-lgsm/rustserver
* add no stop if players online
* remove dev message
* monitor will now restart the server if requested earlier
* changed var name
* add npm check to install gamedig
* new line
* add var
* remove from non supported servers
* typo
* word
* move restart request
* change lock file name
* restart and monitor
* refactor(stop): share player-online check + add stoponlyifnoplayersallcommands
- Extract the duplicated gamedig player-count query (previously copy-pasted
in command_stop, command_restart and command_monitor) into a new shared
check_players_online.sh module that sets ${playersonline}; registered in
core_modules.sh.
- Add stoponlyifnoplayersallcommands (default on) so the stoponlyifnoplayers
protection applies to every command that stops the server (e.g. update).
Set to off to limit it to explicit stop/restart, allowing update to stop
the server even while players are online.
- Add the new setting to all game server _default.cfg files.
- Resolve merge with develop (check_gamedig now keeps develop's npm-update
branch plus the 'install Node.js' hint).
* fix(stop): clear stale restart-request lock + warn on failed player query
Addresses Copilot review feedback on #4595:
- command_restart.sh: clear the *-restart-request.lock once a restart
actually proceeds. Previously the lock was only written when postponing
and never removed, so every subsequent monitor run would see the stale
lock and trigger a repeat restart indefinitely. Fixed and verified against
a live server: postponed restart -> monitor executes it and clears the
lock -> a second monitor run no longer restarts.
- check_players_online.sh: if the gamedig query fails for every configured
IP (e.g. gamedig/jq missing), playersonline now still fails open (so a
broken query can't permanently block stop/restart) but prints a clear
warning that the safety check could not run, instead of silently
behaving as if the server were empty.
|
2 days ago | |
|---|---|---|
| .. | ||
| _default.cfg | feat(stop): add option to only stop server if no players (#4595) | 2 days ago |