From eb391b13ee9385043336c872a9ca050e344e2fbd Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 16 Jun 2019 09:25:45 +0100 Subject: [PATCH] feat(monitor): monitor queries will not begin immediately after start (#2391) A delay timer has been added to give game servers time to boot before monitor begins query. This is useful for large game servers or that have several mods querydelay setting has been added to _default.cfg --- .../config-lgsm/arkserver/_default.cfg | 4 ++++ .../config-lgsm/arma3server/_default.cfg | 4 ++++ .../config-lgsm/bb2server/_default.cfg | 4 ++++ .../config-lgsm/bbserver/_default.cfg | 4 ++++ .../config-lgsm/bdserver/_default.cfg | 4 ++++ .../config-lgsm/bf1942server/_default.cfg | 4 ++++ .../config-lgsm/bmdmserver/_default.cfg | 4 ++++ .../config-lgsm/boserver/_default.cfg | 4 ++++ .../config-lgsm/bsserver/_default.cfg | 4 ++++ .../config-lgsm/bt1944server/_default.cfg | 4 ++++ .../config-lgsm/ccserver/_default.cfg | 4 ++++ .../config-lgsm/cod2server/_default.cfg | 4 ++++ .../config-lgsm/cod4server/_default.cfg | 4 ++++ .../config-lgsm/codserver/_default.cfg | 4 ++++ .../config-lgsm/coduoserver/_default.cfg | 4 ++++ .../config-lgsm/codwawserver/_default.cfg | 4 ++++ .../config-lgsm/csczserver/_default.cfg | 4 ++++ .../config-lgsm/csgoserver/_default.cfg | 4 ++++ .../config-lgsm/csserver/_default.cfg | 4 ++++ .../config-lgsm/cssserver/_default.cfg | 4 ++++ .../config-lgsm/dabserver/_default.cfg | 4 ++++ .../config-lgsm/dmcserver/_default.cfg | 4 ++++ .../config-lgsm/dodserver/_default.cfg | 4 ++++ .../config-lgsm/dodsserver/_default.cfg | 4 ++++ .../config-lgsm/doiserver/_default.cfg | 4 ++++ .../config-lgsm/dstserver/_default.cfg | 4 ++++ .../config-lgsm/dysserver/_default.cfg | 4 ++++ .../config-lgsm/ecoserver/_default.cfg | 4 ++++ .../config-lgsm/emserver/_default.cfg | 4 ++++ .../config-lgsm/etlserver/_default.cfg | 4 ++++ .../config-lgsm/fctrserver/_default.cfg | 4 ++++ .../config-lgsm/fofserver/_default.cfg | 4 ++++ .../config-lgsm/gesserver/_default.cfg | 4 ++++ .../config-lgsm/gmodserver/_default.cfg | 4 ++++ .../config-lgsm/hl2dmserver/_default.cfg | 4 ++++ .../config-lgsm/hldmserver/_default.cfg | 4 ++++ .../config-lgsm/hldmsserver/_default.cfg | 4 ++++ .../config-lgsm/hwserver/_default.cfg | 4 ++++ .../config-lgsm/insserver/_default.cfg | 4 ++++ .../config-lgsm/inssserver/_default.cfg | 4 ++++ .../config-lgsm/iosserver/_default.cfg | 4 ++++ .../config-lgsm/jc2server/_default.cfg | 4 ++++ .../config-lgsm/jc3server/_default.cfg | 4 ++++ .../config-lgsm/kf2server/_default.cfg | 4 ++++ .../config-lgsm/kfserver/_default.cfg | 4 ++++ .../config-lgsm/l4d2server/_default.cfg | 4 ++++ .../config-lgsm/l4dserver/_default.cfg | 4 ++++ .../config-lgsm/mcserver/_default.cfg | 4 ++++ .../config-lgsm/mhserver/_default.cfg | 4 ++++ .../config-lgsm/mtaserver/_default.cfg | 4 ++++ .../config-lgsm/mumbleserver/_default.cfg | 4 ++++ .../config-lgsm/ndserver/_default.cfg | 4 ++++ .../config-lgsm/nmrihserver/_default.cfg | 4 ++++ .../config-lgsm/ns2cserver/_default.cfg | 4 ++++ .../config-lgsm/ns2server/_default.cfg | 4 ++++ .../config-lgsm/nsserver/_default.cfg | 4 ++++ .../config-lgsm/opforserver/_default.cfg | 4 ++++ .../config-lgsm/pcserver/_default.cfg | 4 ++++ .../config-lgsm/pstbsserver/_default.cfg | 4 ++++ .../config-lgsm/pvkiiserver/_default.cfg | 4 ++++ .../config-lgsm/pzserver/_default.cfg | 4 ++++ .../config-lgsm/q2server/_default.cfg | 4 ++++ .../config-lgsm/q3server/_default.cfg | 4 ++++ .../config-lgsm/qlserver/_default.cfg | 4 ++++ .../config-lgsm/qwserver/_default.cfg | 4 ++++ .../config-lgsm/ricochetserver/_default.cfg | 4 ++++ .../config-lgsm/roserver/_default.cfg | 4 ++++ .../config-lgsm/rtcwserver/_default.cfg | 4 ++++ .../config-lgsm/rustserver/_default.cfg | 4 ++++ .../config-lgsm/rwserver/_default.cfg | 4 ++++ .../config-lgsm/sampserver/_default.cfg | 4 ++++ .../config-lgsm/sbotsserver/_default.cfg | 4 ++++ .../config-lgsm/sbserver/_default.cfg | 4 ++++ .../config-lgsm/sdtdserver/_default.cfg | 4 ++++ .../config-lgsm/sof2server/_default.cfg | 4 ++++ .../config-lgsm/squadserver/_default.cfg | 4 ++++ .../config-lgsm/ss3server/_default.cfg | 4 ++++ .../config-lgsm/stserver/_default.cfg | 4 ++++ .../config-lgsm/svenserver/_default.cfg | 4 ++++ .../config-lgsm/terrariaserver/_default.cfg | 4 ++++ .../config-lgsm/tf2server/_default.cfg | 4 ++++ .../config-lgsm/tfcserver/_default.cfg | 4 ++++ .../config-lgsm/ts3server/_default.cfg | 4 ++++ .../config-lgsm/tuserver/_default.cfg | 4 ++++ .../config-lgsm/twserver/_default.cfg | 4 ++++ .../config-lgsm/untserver/_default.cfg | 4 ++++ .../config-lgsm/ut2k4server/_default.cfg | 4 ++++ .../config-lgsm/ut3server/_default.cfg | 4 ++++ .../config-lgsm/ut99server/_default.cfg | 4 ++++ .../config-lgsm/utserver/_default.cfg | 4 ++++ .../config-lgsm/vsserver/_default.cfg | 4 ++++ .../config-lgsm/wetserver/_default.cfg | 4 ++++ .../config-lgsm/wurmserver/_default.cfg | 4 ++++ .../config-lgsm/zpsserver/_default.cfg | 4 ++++ lgsm/functions/command_backup.sh | 2 +- lgsm/functions/command_debug.sh | 2 +- lgsm/functions/command_dev_debug.sh | 4 ++-- lgsm/functions/command_monitor.sh | 21 ++++++++++++++++++- lgsm/functions/command_start.sh | 5 +++-- lgsm/functions/core_messages.sh | 9 ++++++++ tests/tests_fctrserver.sh | 2 +- tests/tests_jc2server.sh | 2 +- tests/tests_mcserver.sh | 2 +- tests/tests_ts3server.sh | 2 +- 104 files changed, 416 insertions(+), 11 deletions(-) diff --git a/lgsm/config-default/config-lgsm/arkserver/_default.cfg b/lgsm/config-default/config-lgsm/arkserver/_default.cfg index a1fec34a6..728a9f68a 100644 --- a/lgsm/config-default/config-lgsm/arkserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/arkserver/_default.cfg @@ -86,6 +86,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="5" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/arma3server/_default.cfg b/lgsm/config-default/config-lgsm/arma3server/_default.cfg index 4f323f7e4..828bbdd04 100644 --- a/lgsm/config-default/config-lgsm/arma3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/arma3server/_default.cfg @@ -100,6 +100,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="5" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/bb2server/_default.cfg b/lgsm/config-default/config-lgsm/bb2server/_default.cfg index 48b1f164a..80e1244f9 100644 --- a/lgsm/config-default/config-lgsm/bb2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/bb2server/_default.cfg @@ -90,6 +90,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/bbserver/_default.cfg b/lgsm/config-default/config-lgsm/bbserver/_default.cfg index 1910706f2..2a89c8849 100644 --- a/lgsm/config-default/config-lgsm/bbserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/bbserver/_default.cfg @@ -84,6 +84,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/bdserver/_default.cfg b/lgsm/config-default/config-lgsm/bdserver/_default.cfg index 99f546ab6..5e030759c 100644 --- a/lgsm/config-default/config-lgsm/bdserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/bdserver/_default.cfg @@ -84,6 +84,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/bf1942server/_default.cfg b/lgsm/config-default/config-lgsm/bf1942server/_default.cfg index 23c61227f..c1193658f 100644 --- a/lgsm/config-default/config-lgsm/bf1942server/_default.cfg +++ b/lgsm/config-default/config-lgsm/bf1942server/_default.cfg @@ -77,6 +77,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/bmdmserver/_default.cfg b/lgsm/config-default/config-lgsm/bmdmserver/_default.cfg index 1c29b6aa5..f2d27f8b5 100644 --- a/lgsm/config-default/config-lgsm/bmdmserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/bmdmserver/_default.cfg @@ -90,6 +90,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/boserver/_default.cfg b/lgsm/config-default/config-lgsm/boserver/_default.cfg index ae9a0cee8..1793f6bd5 100644 --- a/lgsm/config-default/config-lgsm/boserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/boserver/_default.cfg @@ -83,6 +83,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/bsserver/_default.cfg b/lgsm/config-default/config-lgsm/bsserver/_default.cfg index 93eb491f3..08823a4bc 100644 --- a/lgsm/config-default/config-lgsm/bsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/bsserver/_default.cfg @@ -94,6 +94,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/bt1944server/_default.cfg b/lgsm/config-default/config-lgsm/bt1944server/_default.cfg index b5164fecf..2176236c5 100644 --- a/lgsm/config-default/config-lgsm/bt1944server/_default.cfg +++ b/lgsm/config-default/config-lgsm/bt1944server/_default.cfg @@ -82,6 +82,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/ccserver/_default.cfg b/lgsm/config-default/config-lgsm/ccserver/_default.cfg index 7d30f03bb..65d36f1b2 100644 --- a/lgsm/config-default/config-lgsm/ccserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/ccserver/_default.cfg @@ -85,6 +85,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/cod2server/_default.cfg b/lgsm/config-default/config-lgsm/cod2server/_default.cfg index 1d114e688..8f4602123 100644 --- a/lgsm/config-default/config-lgsm/cod2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/cod2server/_default.cfg @@ -80,6 +80,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/cod4server/_default.cfg b/lgsm/config-default/config-lgsm/cod4server/_default.cfg index 210450f59..6ef656494 100644 --- a/lgsm/config-default/config-lgsm/cod4server/_default.cfg +++ b/lgsm/config-default/config-lgsm/cod4server/_default.cfg @@ -80,6 +80,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/codserver/_default.cfg b/lgsm/config-default/config-lgsm/codserver/_default.cfg index d548cfb59..7c6cd2e35 100644 --- a/lgsm/config-default/config-lgsm/codserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/codserver/_default.cfg @@ -80,6 +80,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/coduoserver/_default.cfg b/lgsm/config-default/config-lgsm/coduoserver/_default.cfg index 355f9f339..3a61761c5 100644 --- a/lgsm/config-default/config-lgsm/coduoserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/coduoserver/_default.cfg @@ -80,6 +80,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/codwawserver/_default.cfg b/lgsm/config-default/config-lgsm/codwawserver/_default.cfg index 3f0b882bc..1610ab01f 100644 --- a/lgsm/config-default/config-lgsm/codwawserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/codwawserver/_default.cfg @@ -80,6 +80,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/csczserver/_default.cfg b/lgsm/config-default/config-lgsm/csczserver/_default.cfg index b3620a68c..eb85d04ce 100644 --- a/lgsm/config-default/config-lgsm/csczserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/csczserver/_default.cfg @@ -84,6 +84,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/csgoserver/_default.cfg b/lgsm/config-default/config-lgsm/csgoserver/_default.cfg index fa9a79e9d..5dac93530 100644 --- a/lgsm/config-default/config-lgsm/csgoserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/csgoserver/_default.cfg @@ -110,6 +110,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/csserver/_default.cfg b/lgsm/config-default/config-lgsm/csserver/_default.cfg index e088813a3..60390eb68 100644 --- a/lgsm/config-default/config-lgsm/csserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/csserver/_default.cfg @@ -84,6 +84,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/cssserver/_default.cfg b/lgsm/config-default/config-lgsm/cssserver/_default.cfg index dccd9afbb..e07733c32 100644 --- a/lgsm/config-default/config-lgsm/cssserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/cssserver/_default.cfg @@ -90,6 +90,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/dabserver/_default.cfg b/lgsm/config-default/config-lgsm/dabserver/_default.cfg index dc6ad1bde..e65d5cb94 100644 --- a/lgsm/config-default/config-lgsm/dabserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dabserver/_default.cfg @@ -85,6 +85,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/dmcserver/_default.cfg b/lgsm/config-default/config-lgsm/dmcserver/_default.cfg index fa68dd498..804cb020c 100644 --- a/lgsm/config-default/config-lgsm/dmcserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dmcserver/_default.cfg @@ -84,6 +84,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/dodserver/_default.cfg b/lgsm/config-default/config-lgsm/dodserver/_default.cfg index 77c07a7f4..e82012e29 100644 --- a/lgsm/config-default/config-lgsm/dodserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dodserver/_default.cfg @@ -84,6 +84,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/dodsserver/_default.cfg b/lgsm/config-default/config-lgsm/dodsserver/_default.cfg index 8f01c98ea..4ce487dbc 100644 --- a/lgsm/config-default/config-lgsm/dodsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dodsserver/_default.cfg @@ -85,6 +85,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/doiserver/_default.cfg b/lgsm/config-default/config-lgsm/doiserver/_default.cfg index da35c0130..1b8f16916 100644 --- a/lgsm/config-default/config-lgsm/doiserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/doiserver/_default.cfg @@ -87,6 +87,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/dstserver/_default.cfg b/lgsm/config-default/config-lgsm/dstserver/_default.cfg index f4af4602b..70bc1e1bc 100644 --- a/lgsm/config-default/config-lgsm/dstserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dstserver/_default.cfg @@ -88,6 +88,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/dysserver/_default.cfg b/lgsm/config-default/config-lgsm/dysserver/_default.cfg index 48f26076f..554bc1ee6 100644 --- a/lgsm/config-default/config-lgsm/dysserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/dysserver/_default.cfg @@ -90,6 +90,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/ecoserver/_default.cfg b/lgsm/config-default/config-lgsm/ecoserver/_default.cfg index ed261434f..b08ddd850 100644 --- a/lgsm/config-default/config-lgsm/ecoserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/ecoserver/_default.cfg @@ -73,6 +73,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/emserver/_default.cfg b/lgsm/config-default/config-lgsm/emserver/_default.cfg index 500165b64..5b9efc6de 100644 --- a/lgsm/config-default/config-lgsm/emserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/emserver/_default.cfg @@ -90,6 +90,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/etlserver/_default.cfg b/lgsm/config-default/config-lgsm/etlserver/_default.cfg index 22cfde4bb..9033c8fcf 100644 --- a/lgsm/config-default/config-lgsm/etlserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/etlserver/_default.cfg @@ -74,6 +74,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/fctrserver/_default.cfg b/lgsm/config-default/config-lgsm/fctrserver/_default.cfg index ed0968baa..59fdd7b8f 100644 --- a/lgsm/config-default/config-lgsm/fctrserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/fctrserver/_default.cfg @@ -85,6 +85,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/fofserver/_default.cfg b/lgsm/config-default/config-lgsm/fofserver/_default.cfg index 4ae3ecb4c..692bce2bb 100644 --- a/lgsm/config-default/config-lgsm/fofserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/fofserver/_default.cfg @@ -85,6 +85,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/gesserver/_default.cfg b/lgsm/config-default/config-lgsm/gesserver/_default.cfg index 3e049dc8b..4a16eacc2 100644 --- a/lgsm/config-default/config-lgsm/gesserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/gesserver/_default.cfg @@ -85,6 +85,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/gmodserver/_default.cfg b/lgsm/config-default/config-lgsm/gmodserver/_default.cfg index 105694bbb..7090b26aa 100644 --- a/lgsm/config-default/config-lgsm/gmodserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/gmodserver/_default.cfg @@ -101,6 +101,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="5" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg b/lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg index d6cc0b37d..15a39af24 100644 --- a/lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg @@ -85,6 +85,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/hldmserver/_default.cfg b/lgsm/config-default/config-lgsm/hldmserver/_default.cfg index af8ec0a41..1f57e9880 100644 --- a/lgsm/config-default/config-lgsm/hldmserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/hldmserver/_default.cfg @@ -84,6 +84,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/hldmsserver/_default.cfg b/lgsm/config-default/config-lgsm/hldmsserver/_default.cfg index 1c8b58bbd..c89b5a19c 100644 --- a/lgsm/config-default/config-lgsm/hldmsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/hldmsserver/_default.cfg @@ -85,6 +85,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/hwserver/_default.cfg b/lgsm/config-default/config-lgsm/hwserver/_default.cfg index 476bb2bd2..d01949784 100644 --- a/lgsm/config-default/config-lgsm/hwserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/hwserver/_default.cfg @@ -96,6 +96,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/insserver/_default.cfg b/lgsm/config-default/config-lgsm/insserver/_default.cfg index a0f1471c2..4e09e078b 100644 --- a/lgsm/config-default/config-lgsm/insserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/insserver/_default.cfg @@ -92,6 +92,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/inssserver/_default.cfg b/lgsm/config-default/config-lgsm/inssserver/_default.cfg index 312f8826d..04ab3128c 100644 --- a/lgsm/config-default/config-lgsm/inssserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/inssserver/_default.cfg @@ -93,6 +93,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/iosserver/_default.cfg b/lgsm/config-default/config-lgsm/iosserver/_default.cfg index fccbc13d9..435b8310e 100644 --- a/lgsm/config-default/config-lgsm/iosserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/iosserver/_default.cfg @@ -85,6 +85,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/jc2server/_default.cfg b/lgsm/config-default/config-lgsm/jc2server/_default.cfg index da1d34189..439adc72e 100644 --- a/lgsm/config-default/config-lgsm/jc2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/jc2server/_default.cfg @@ -77,6 +77,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/jc3server/_default.cfg b/lgsm/config-default/config-lgsm/jc3server/_default.cfg index 6992a1029..a302deee0 100644 --- a/lgsm/config-default/config-lgsm/jc3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/jc3server/_default.cfg @@ -77,6 +77,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/kf2server/_default.cfg b/lgsm/config-default/config-lgsm/kf2server/_default.cfg index 9a8ab3329..8c917fea6 100644 --- a/lgsm/config-default/config-lgsm/kf2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/kf2server/_default.cfg @@ -83,6 +83,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/kfserver/_default.cfg b/lgsm/config-default/config-lgsm/kfserver/_default.cfg index 1f47ec58a..b182c60b5 100644 --- a/lgsm/config-default/config-lgsm/kfserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/kfserver/_default.cfg @@ -89,6 +89,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/l4d2server/_default.cfg b/lgsm/config-default/config-lgsm/l4d2server/_default.cfg index b69a3e734..6b3f09c9d 100644 --- a/lgsm/config-default/config-lgsm/l4d2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/l4d2server/_default.cfg @@ -84,6 +84,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/l4dserver/_default.cfg b/lgsm/config-default/config-lgsm/l4dserver/_default.cfg index 9326ed808..80dfee1e4 100644 --- a/lgsm/config-default/config-lgsm/l4dserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/l4dserver/_default.cfg @@ -84,6 +84,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/mcserver/_default.cfg b/lgsm/config-default/config-lgsm/mcserver/_default.cfg index 6f737fcb2..7b744ff51 100644 --- a/lgsm/config-default/config-lgsm/mcserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/mcserver/_default.cfg @@ -79,6 +79,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/mhserver/_default.cfg b/lgsm/config-default/config-lgsm/mhserver/_default.cfg index 7e35f9c62..30f68f0cd 100644 --- a/lgsm/config-default/config-lgsm/mhserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/mhserver/_default.cfg @@ -82,6 +82,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/mtaserver/_default.cfg b/lgsm/config-default/config-lgsm/mtaserver/_default.cfg index 9fc6a08b0..cbe998b5a 100644 --- a/lgsm/config-default/config-lgsm/mtaserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/mtaserver/_default.cfg @@ -75,6 +75,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/mumbleserver/_default.cfg b/lgsm/config-default/config-lgsm/mumbleserver/_default.cfg index 2ef9f3ee6..0404d5834 100644 --- a/lgsm/config-default/config-lgsm/mumbleserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/mumbleserver/_default.cfg @@ -78,6 +78,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/ndserver/_default.cfg b/lgsm/config-default/config-lgsm/ndserver/_default.cfg index 2c352d49b..ce6932680 100644 --- a/lgsm/config-default/config-lgsm/ndserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/ndserver/_default.cfg @@ -85,6 +85,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/nmrihserver/_default.cfg b/lgsm/config-default/config-lgsm/nmrihserver/_default.cfg index 8b3edcc9e..a59455630 100644 --- a/lgsm/config-default/config-lgsm/nmrihserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/nmrihserver/_default.cfg @@ -90,6 +90,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/ns2cserver/_default.cfg b/lgsm/config-default/config-lgsm/ns2cserver/_default.cfg index 23c70c212..bedb28177 100644 --- a/lgsm/config-default/config-lgsm/ns2cserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/ns2cserver/_default.cfg @@ -92,6 +92,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/ns2server/_default.cfg b/lgsm/config-default/config-lgsm/ns2server/_default.cfg index 98c3bf3d4..3c6c0e34a 100644 --- a/lgsm/config-default/config-lgsm/ns2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ns2server/_default.cfg @@ -96,6 +96,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/nsserver/_default.cfg b/lgsm/config-default/config-lgsm/nsserver/_default.cfg index e7b40f0c2..0bd6f4e9b 100644 --- a/lgsm/config-default/config-lgsm/nsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/nsserver/_default.cfg @@ -84,6 +84,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/opforserver/_default.cfg b/lgsm/config-default/config-lgsm/opforserver/_default.cfg index 9d85f0049..278288e74 100644 --- a/lgsm/config-default/config-lgsm/opforserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/opforserver/_default.cfg @@ -84,6 +84,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/pcserver/_default.cfg b/lgsm/config-default/config-lgsm/pcserver/_default.cfg index fdf8db746..b2c26aaad 100644 --- a/lgsm/config-default/config-lgsm/pcserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/pcserver/_default.cfg @@ -77,6 +77,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/pstbsserver/_default.cfg b/lgsm/config-default/config-lgsm/pstbsserver/_default.cfg index ce13b1ab3..9b4f6762c 100644 --- a/lgsm/config-default/config-lgsm/pstbsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/pstbsserver/_default.cfg @@ -88,6 +88,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg b/lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg index 1d70816d2..407324f3b 100644 --- a/lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg @@ -85,6 +85,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/pzserver/_default.cfg b/lgsm/config-default/config-lgsm/pzserver/_default.cfg index 8b258cfe9..c5db5f93a 100644 --- a/lgsm/config-default/config-lgsm/pzserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/pzserver/_default.cfg @@ -80,6 +80,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/q2server/_default.cfg b/lgsm/config-default/config-lgsm/q2server/_default.cfg index c2ac3340e..4369281e4 100644 --- a/lgsm/config-default/config-lgsm/q2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/q2server/_default.cfg @@ -79,6 +79,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/q3server/_default.cfg b/lgsm/config-default/config-lgsm/q3server/_default.cfg index 0c205c6b8..2f1bc15f4 100644 --- a/lgsm/config-default/config-lgsm/q3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/q3server/_default.cfg @@ -79,6 +79,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/qlserver/_default.cfg b/lgsm/config-default/config-lgsm/qlserver/_default.cfg index 01bd7950b..0535d7789 100644 --- a/lgsm/config-default/config-lgsm/qlserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/qlserver/_default.cfg @@ -79,6 +79,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/qwserver/_default.cfg b/lgsm/config-default/config-lgsm/qwserver/_default.cfg index b2ccd0af6..f9fd737f4 100644 --- a/lgsm/config-default/config-lgsm/qwserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/qwserver/_default.cfg @@ -78,6 +78,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/ricochetserver/_default.cfg b/lgsm/config-default/config-lgsm/ricochetserver/_default.cfg index 41ccda337..727f1ddc5 100644 --- a/lgsm/config-default/config-lgsm/ricochetserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/ricochetserver/_default.cfg @@ -84,6 +84,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/roserver/_default.cfg b/lgsm/config-default/config-lgsm/roserver/_default.cfg index dd4614682..0ecfaad5d 100644 --- a/lgsm/config-default/config-lgsm/roserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/roserver/_default.cfg @@ -85,6 +85,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/rtcwserver/_default.cfg b/lgsm/config-default/config-lgsm/rtcwserver/_default.cfg index 012a86815..cf1373e64 100644 --- a/lgsm/config-default/config-lgsm/rtcwserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/rtcwserver/_default.cfg @@ -79,6 +79,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/rustserver/_default.cfg b/lgsm/config-default/config-lgsm/rustserver/_default.cfg index a132a7585..7167acd03 100644 --- a/lgsm/config-default/config-lgsm/rustserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/rustserver/_default.cfg @@ -109,6 +109,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/rwserver/_default.cfg b/lgsm/config-default/config-lgsm/rwserver/_default.cfg index 358304664..7f4222b30 100644 --- a/lgsm/config-default/config-lgsm/rwserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/rwserver/_default.cfg @@ -80,6 +80,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/sampserver/_default.cfg b/lgsm/config-default/config-lgsm/sampserver/_default.cfg index ab54a20c1..b76e92538 100644 --- a/lgsm/config-default/config-lgsm/sampserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/sampserver/_default.cfg @@ -78,6 +78,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/sbotsserver/_default.cfg b/lgsm/config-default/config-lgsm/sbotsserver/_default.cfg index 847168d02..c9e6d450a 100644 --- a/lgsm/config-default/config-lgsm/sbotsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/sbotsserver/_default.cfg @@ -82,6 +82,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/sbserver/_default.cfg b/lgsm/config-default/config-lgsm/sbserver/_default.cfg index bf7928642..3f157a72a 100644 --- a/lgsm/config-default/config-lgsm/sbserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/sbserver/_default.cfg @@ -84,6 +84,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/sdtdserver/_default.cfg b/lgsm/config-default/config-lgsm/sdtdserver/_default.cfg index 59c408431..06d97810f 100644 --- a/lgsm/config-default/config-lgsm/sdtdserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/sdtdserver/_default.cfg @@ -80,6 +80,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/sof2server/_default.cfg b/lgsm/config-default/config-lgsm/sof2server/_default.cfg index 31d5c2306..897be4a3e 100644 --- a/lgsm/config-default/config-lgsm/sof2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/sof2server/_default.cfg @@ -79,6 +79,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/squadserver/_default.cfg b/lgsm/config-default/config-lgsm/squadserver/_default.cfg index d9dd3b171..3c2109527 100644 --- a/lgsm/config-default/config-lgsm/squadserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/squadserver/_default.cfg @@ -82,6 +82,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/ss3server/_default.cfg b/lgsm/config-default/config-lgsm/ss3server/_default.cfg index 496e11ce0..bb6f78a1b 100644 --- a/lgsm/config-default/config-lgsm/ss3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ss3server/_default.cfg @@ -81,6 +81,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/stserver/_default.cfg b/lgsm/config-default/config-lgsm/stserver/_default.cfg index 9239d1b6c..93a59f2f8 100644 --- a/lgsm/config-default/config-lgsm/stserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/stserver/_default.cfg @@ -87,6 +87,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/svenserver/_default.cfg b/lgsm/config-default/config-lgsm/svenserver/_default.cfg index 7b0b2524d..91912d425 100644 --- a/lgsm/config-default/config-lgsm/svenserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/svenserver/_default.cfg @@ -84,6 +84,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/terrariaserver/_default.cfg b/lgsm/config-default/config-lgsm/terrariaserver/_default.cfg index e064f10c1..3dc5646f4 100644 --- a/lgsm/config-default/config-lgsm/terrariaserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/terrariaserver/_default.cfg @@ -84,6 +84,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/tf2server/_default.cfg b/lgsm/config-default/config-lgsm/tf2server/_default.cfg index 7399cb941..2bcade720 100644 --- a/lgsm/config-default/config-lgsm/tf2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/tf2server/_default.cfg @@ -90,6 +90,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/tfcserver/_default.cfg b/lgsm/config-default/config-lgsm/tfcserver/_default.cfg index adfe3b56d..b34d820b7 100644 --- a/lgsm/config-default/config-lgsm/tfcserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/tfcserver/_default.cfg @@ -84,6 +84,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/ts3server/_default.cfg b/lgsm/config-default/config-lgsm/ts3server/_default.cfg index 6c6b116cd..47da3e4b6 100644 --- a/lgsm/config-default/config-lgsm/ts3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ts3server/_default.cfg @@ -73,6 +73,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/tuserver/_default.cfg b/lgsm/config-default/config-lgsm/tuserver/_default.cfg index 8397e826d..6207f5c31 100644 --- a/lgsm/config-default/config-lgsm/tuserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/tuserver/_default.cfg @@ -87,6 +87,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/twserver/_default.cfg b/lgsm/config-default/config-lgsm/twserver/_default.cfg index e655aa023..56d505183 100644 --- a/lgsm/config-default/config-lgsm/twserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/twserver/_default.cfg @@ -84,6 +84,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/untserver/_default.cfg b/lgsm/config-default/config-lgsm/untserver/_default.cfg index ef582c298..2913f0ea8 100644 --- a/lgsm/config-default/config-lgsm/untserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/untserver/_default.cfg @@ -88,6 +88,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/ut2k4server/_default.cfg b/lgsm/config-default/config-lgsm/ut2k4server/_default.cfg index 390eb3b47..9f43be864 100644 --- a/lgsm/config-default/config-lgsm/ut2k4server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ut2k4server/_default.cfg @@ -78,6 +78,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/ut3server/_default.cfg b/lgsm/config-default/config-lgsm/ut3server/_default.cfg index 8afab880c..a1c4496bd 100644 --- a/lgsm/config-default/config-lgsm/ut3server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ut3server/_default.cfg @@ -89,6 +89,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/ut99server/_default.cfg b/lgsm/config-default/config-lgsm/ut99server/_default.cfg index ee45795dd..66d0edd41 100644 --- a/lgsm/config-default/config-lgsm/ut99server/_default.cfg +++ b/lgsm/config-default/config-lgsm/ut99server/_default.cfg @@ -78,6 +78,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/utserver/_default.cfg b/lgsm/config-default/config-lgsm/utserver/_default.cfg index 027012b8e..9b29dd204 100644 --- a/lgsm/config-default/config-lgsm/utserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/utserver/_default.cfg @@ -82,6 +82,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/vsserver/_default.cfg b/lgsm/config-default/config-lgsm/vsserver/_default.cfg index b21d1d7b4..31d67e6e6 100644 --- a/lgsm/config-default/config-lgsm/vsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/vsserver/_default.cfg @@ -84,6 +84,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/wetserver/_default.cfg b/lgsm/config-default/config-lgsm/wetserver/_default.cfg index 2525bc8b3..ae88991cb 100644 --- a/lgsm/config-default/config-lgsm/wetserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/wetserver/_default.cfg @@ -74,6 +74,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/wurmserver/_default.cfg b/lgsm/config-default/config-lgsm/wurmserver/_default.cfg index fb19f13fb..1263771cc 100644 --- a/lgsm/config-default/config-lgsm/wurmserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/wurmserver/_default.cfg @@ -76,6 +76,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/config-default/config-lgsm/zpsserver/_default.cfg b/lgsm/config-default/config-lgsm/zpsserver/_default.cfg index e9aa313fc..e9acd034e 100644 --- a/lgsm/config-default/config-lgsm/zpsserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/zpsserver/_default.cfg @@ -90,6 +90,10 @@ stoponbackup="on" consolelogging="on" logdays="7" +## Monitor | https://docs.linuxgsm.com/commands/monitor +# Query delay time +querydelay="1" + #### LinuxGSM Advanced Settings #### # ANSI Colors diff --git a/lgsm/functions/command_backup.sh b/lgsm/functions/command_backup.sh index de5a11aff..1fb43cea2 100644 --- a/lgsm/functions/command_backup.sh +++ b/lgsm/functions/command_backup.sh @@ -91,7 +91,7 @@ fn_backup_dir(){ fn_backup_create_lockfile(){ # Create lockfile. - date > "${tmpdir}/.backup.lock" + date '+%s' > "${tmpdir}/.backup.lock" fn_script_log_info "Lockfile generated" fn_script_log_info "${tmpdir}/.backup.lock" # trap to remove lockfile on quit. diff --git a/lgsm/functions/command_debug.sh b/lgsm/functions/command_debug.sh index af7d6801a..2949dedab 100644 --- a/lgsm/functions/command_debug.sh +++ b/lgsm/functions/command_debug.sh @@ -98,7 +98,7 @@ fn_script_log_info "Starting debug" fn_print_ok_nl "Starting debug" # Create lockfile. -date > "${rootdir}/${lockselfname}" +date '+%s' > "${rootdir}/${lockselfname}" fn_script_log_info "Lockfile generated" fn_script_log_info "${rootdir}/${lockselfname}" # trap to remove lockfile on quit. diff --git a/lgsm/functions/command_dev_debug.sh b/lgsm/functions/command_dev_debug.sh index 7c831681a..5229d068d 100644 --- a/lgsm/functions/command_dev_debug.sh +++ b/lgsm/functions/command_dev_debug.sh @@ -13,8 +13,8 @@ if [ -f "${rootdir}/.dev-debug" ]; then fn_print_ok_nl "Disabled dev-debug" fn_script_log_info "Disabled dev-debug" else - date > "${rootdir}/.dev-debug" + date '+%s' > "${rootdir}/.dev-debug" fn_print_ok_nl "Enabled dev-debug" fn_script_log_info "Enabled dev-debug" fi -core_exit.sh \ No newline at end of file +core_exit.sh diff --git a/lgsm/functions/command_monitor.sh b/lgsm/functions/command_monitor.sh index 9760380de..772be28a9 100644 --- a/lgsm/functions/command_monitor.sh +++ b/lgsm/functions/command_monitor.sh @@ -18,7 +18,14 @@ for queryattempt in {1..5}; do fn_print_dots "Querying port: ${querymethod}: ${ip}:${queryport} : ${totalseconds}/${queryattempt}: " fn_print_querying_eol fn_script_log_info "Querying port: ${querymethod}: ${ip}:${queryport} : ${queryattempt} : QUERYING" - if [ "${querymethod}" == "gamedig" ]; then + if [ "$(cat "${rootdir}/${lockselfname}")" > "$(date "+%s" -d "${querydelay} mins ago")" ]; then + fn_print_ok "Querying port: ${querymethod}: ${ip}:${queryport} : ${totalseconds}/${queryattempt}: " + fn_print_delay_eol + fn_script_log_info "Querying port: ${querymethod}: ${ip}:${queryport} : ${queryattempt} : DELAY" + fn_script_log_info "Query bypassed: ${gameservername} started less than ${querydelay} minute ago" + monitorpass=1 + core_exit.sh + elif [ "${querymethod}" == "gamedig" ]; then query_gamedig.sh elif [ "${querymethod}" == "gsquery" ]; then if [ ! -f "${functionsdir}/query_gsquery.py" ]; then @@ -184,6 +191,17 @@ info_parms.sh fn_monitor_check_lockfile fn_monitor_check_update fn_monitor_check_session + +# Fix if lockfile is not unix time or contains letters +if [[ "$(cat "${rootdir}/${lockselfname}")" =~ [A-Za-z] ]]; then + date '+%s' > "${rootdir}/${lockselfname}" +fi + +# Add a query bypass if missing +if [ -z "${querydelay}" ]; then + querydelay="1" +fi + # Query has to be enabled in Starbound config. if [ "${shortname}" == "sb" ]; then if [ "${queryenabled}" == "true" ]; then @@ -194,4 +212,5 @@ elif [ "${shortname}" == "ts3" ]||[ "${shortname}" == "eco" ]||[ "${shortname}" else fn_monitor_query fi + core_exit.sh diff --git a/lgsm/functions/command_start.sh b/lgsm/functions/command_start.sh index d955aef17..ed7d98498 100644 --- a/lgsm/functions/command_start.sh +++ b/lgsm/functions/command_start.sh @@ -29,7 +29,8 @@ fn_start_teamspeak3(){ mv "${lgsmlog}" "${lgsmlogdate}" fi # Create lockfile. - date > "${rootdir}/${lockselfname}" + + date '+%s' > "${rootdir}/${lockselfname}" # Accept license. if [ ! -f "${executabledir}/.ts3server_license_accepted" ]; then install_eula.sh @@ -83,7 +84,7 @@ fn_start_tmux(){ mv "${consolelog}" "${consolelogdate}" fi - # Create lockfile. + # Create lockfile date > "${rootdir}/${lockselfname}" cd "${executabledir}" tmux new-session -d -x "${sessionwidth}" -y "${sessionheight}" -s "${servicename}" "${executable} ${parms}" 2> "${lgsmlogdir}/.${servicename}-tmux-error.tmp" diff --git a/lgsm/functions/core_messages.sh b/lgsm/functions/core_messages.sh index c909b5479..51b9a4817 100644 --- a/lgsm/functions/core_messages.sh +++ b/lgsm/functions/core_messages.sh @@ -384,6 +384,15 @@ fn_print_checking_eol_nl(){ echo -e "${cyan}CHECKING${default}" } +# DELAY +fn_print_delay_eol(){ + echo -en "${green}DELAY${default}" +} + +fn_print_delay_eol_nl(){ + echo -e "${green}DELAY${default}" +} + # CANCELED fn_print_canceled_eol(){ echo -en "${yellow}CANCELED${default}" diff --git a/tests/tests_fctrserver.sh b/tests/tests_fctrserver.sh index 18b2b66bb..ca4bf150f 100644 --- a/tests/tests_fctrserver.sh +++ b/tests/tests_fctrserver.sh @@ -815,7 +815,7 @@ echo "Command: ./${gameservername} monitor" requiredstatus="OFFLINE" fn_setstatus fn_print_info_nl "creating lockfile." -date > "${rootdir}/${lockselfname}" +date '+%s' > "${rootdir}/${lockselfname}" ( exec 5>"${TRAVIS_BUILD_DIR}/dev-debug.log" BASH_XTRACEFD="5" diff --git a/tests/tests_jc2server.sh b/tests/tests_jc2server.sh index d3a348b43..dbcca9b42 100644 --- a/tests/tests_jc2server.sh +++ b/tests/tests_jc2server.sh @@ -968,7 +968,7 @@ echo "Command: ./${gameservername} monitor" requiredstatus="OFFLINE" fn_setstatus fn_print_info_nl "creating lockfile." -date > "${rootdir}/${lockselfname}" +date '+%s' > "${rootdir}/${lockselfname}" ( exec 5>"${TRAVIS_BUILD_DIR}/dev-debug.log" BASH_XTRACEFD="5" diff --git a/tests/tests_mcserver.sh b/tests/tests_mcserver.sh index 05a7e210a..426851163 100644 --- a/tests/tests_mcserver.sh +++ b/tests/tests_mcserver.sh @@ -847,7 +847,7 @@ echo "Command: ./${gameservername} monitor" requiredstatus="OFFLINE" fn_setstatus fn_print_info_nl "creating lockfile." -date > "${rootdir}/${lockselfname}" +date '+%s' > "${rootdir}/${lockselfname}" ( exec 5>"${TRAVIS_BUILD_DIR}/dev-debug.log" BASH_XTRACEFD="5" diff --git a/tests/tests_ts3server.sh b/tests/tests_ts3server.sh index 9aa929d55..d243ef13e 100644 --- a/tests/tests_ts3server.sh +++ b/tests/tests_ts3server.sh @@ -814,7 +814,7 @@ echo "Command: ./${gameservername} monitor" requiredstatus="OFFLINE" fn_setstatus fn_print_info_nl "creating lockfile." -date > "${rootdir}/${lockselfname}" +date '+%s' > "${rootdir}/${lockselfname}" ( exec 5>"${TRAVIS_BUILD_DIR}/dev-debug.log" BASH_XTRACEFD="5"