Browse Source

fix(stats): servers with sessin only checking will now show in stats

game servers with session only checks were not showing up in stats. This includes the new Palworld server
pull/4467/head^2
Daniel Gibbs 1 year ago
parent
commit
78f4735a2b
No known key found for this signature in database GPG Key ID: 2076B128385E8C55
  1. 4
      lgsm/modules/command_monitor.sh

4
lgsm/modules/command_monitor.sh

@ -214,6 +214,10 @@ fn_monitor_check_session() {
fn_print_ok "Checking session: " fn_print_ok "Checking session: "
fn_print_ok_eol_nl fn_print_ok_eol_nl
fn_script_log_pass "Checking session: OK" fn_script_log_pass "Checking session: OK"
# send LinuxGSM stats if monitor is OK.
if [ "${stats}" == "on" ] || [ "${stats}" == "y" ] && [ "${querymode}" == "1" ]; then
info_stats.sh
fi
else else
fn_print_error "Checking session: " fn_print_error "Checking session: "
fn_print_fail_eol_nl fn_print_fail_eol_nl

Loading…
Cancel
Save