Browse Source

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
pull/2399/head
Daniel Gibbs 6 years ago
committed by GitHub
parent
commit
eb391b13ee
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      lgsm/config-default/config-lgsm/arkserver/_default.cfg
  2. 4
      lgsm/config-default/config-lgsm/arma3server/_default.cfg
  3. 4
      lgsm/config-default/config-lgsm/bb2server/_default.cfg
  4. 4
      lgsm/config-default/config-lgsm/bbserver/_default.cfg
  5. 4
      lgsm/config-default/config-lgsm/bdserver/_default.cfg
  6. 4
      lgsm/config-default/config-lgsm/bf1942server/_default.cfg
  7. 4
      lgsm/config-default/config-lgsm/bmdmserver/_default.cfg
  8. 4
      lgsm/config-default/config-lgsm/boserver/_default.cfg
  9. 4
      lgsm/config-default/config-lgsm/bsserver/_default.cfg
  10. 4
      lgsm/config-default/config-lgsm/bt1944server/_default.cfg
  11. 4
      lgsm/config-default/config-lgsm/ccserver/_default.cfg
  12. 4
      lgsm/config-default/config-lgsm/cod2server/_default.cfg
  13. 4
      lgsm/config-default/config-lgsm/cod4server/_default.cfg
  14. 4
      lgsm/config-default/config-lgsm/codserver/_default.cfg
  15. 4
      lgsm/config-default/config-lgsm/coduoserver/_default.cfg
  16. 4
      lgsm/config-default/config-lgsm/codwawserver/_default.cfg
  17. 4
      lgsm/config-default/config-lgsm/csczserver/_default.cfg
  18. 4
      lgsm/config-default/config-lgsm/csgoserver/_default.cfg
  19. 4
      lgsm/config-default/config-lgsm/csserver/_default.cfg
  20. 4
      lgsm/config-default/config-lgsm/cssserver/_default.cfg
  21. 4
      lgsm/config-default/config-lgsm/dabserver/_default.cfg
  22. 4
      lgsm/config-default/config-lgsm/dmcserver/_default.cfg
  23. 4
      lgsm/config-default/config-lgsm/dodserver/_default.cfg
  24. 4
      lgsm/config-default/config-lgsm/dodsserver/_default.cfg
  25. 4
      lgsm/config-default/config-lgsm/doiserver/_default.cfg
  26. 4
      lgsm/config-default/config-lgsm/dstserver/_default.cfg
  27. 4
      lgsm/config-default/config-lgsm/dysserver/_default.cfg
  28. 4
      lgsm/config-default/config-lgsm/ecoserver/_default.cfg
  29. 4
      lgsm/config-default/config-lgsm/emserver/_default.cfg
  30. 4
      lgsm/config-default/config-lgsm/etlserver/_default.cfg
  31. 4
      lgsm/config-default/config-lgsm/fctrserver/_default.cfg
  32. 4
      lgsm/config-default/config-lgsm/fofserver/_default.cfg
  33. 4
      lgsm/config-default/config-lgsm/gesserver/_default.cfg
  34. 4
      lgsm/config-default/config-lgsm/gmodserver/_default.cfg
  35. 4
      lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg
  36. 4
      lgsm/config-default/config-lgsm/hldmserver/_default.cfg
  37. 4
      lgsm/config-default/config-lgsm/hldmsserver/_default.cfg
  38. 4
      lgsm/config-default/config-lgsm/hwserver/_default.cfg
  39. 4
      lgsm/config-default/config-lgsm/insserver/_default.cfg
  40. 4
      lgsm/config-default/config-lgsm/inssserver/_default.cfg
  41. 4
      lgsm/config-default/config-lgsm/iosserver/_default.cfg
  42. 4
      lgsm/config-default/config-lgsm/jc2server/_default.cfg
  43. 4
      lgsm/config-default/config-lgsm/jc3server/_default.cfg
  44. 4
      lgsm/config-default/config-lgsm/kf2server/_default.cfg
  45. 4
      lgsm/config-default/config-lgsm/kfserver/_default.cfg
  46. 4
      lgsm/config-default/config-lgsm/l4d2server/_default.cfg
  47. 4
      lgsm/config-default/config-lgsm/l4dserver/_default.cfg
  48. 4
      lgsm/config-default/config-lgsm/mcserver/_default.cfg
  49. 4
      lgsm/config-default/config-lgsm/mhserver/_default.cfg
  50. 4
      lgsm/config-default/config-lgsm/mtaserver/_default.cfg
  51. 4
      lgsm/config-default/config-lgsm/mumbleserver/_default.cfg
  52. 4
      lgsm/config-default/config-lgsm/ndserver/_default.cfg
  53. 4
      lgsm/config-default/config-lgsm/nmrihserver/_default.cfg
  54. 4
      lgsm/config-default/config-lgsm/ns2cserver/_default.cfg
  55. 4
      lgsm/config-default/config-lgsm/ns2server/_default.cfg
  56. 4
      lgsm/config-default/config-lgsm/nsserver/_default.cfg
  57. 4
      lgsm/config-default/config-lgsm/opforserver/_default.cfg
  58. 4
      lgsm/config-default/config-lgsm/pcserver/_default.cfg
  59. 4
      lgsm/config-default/config-lgsm/pstbsserver/_default.cfg
  60. 4
      lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg
  61. 4
      lgsm/config-default/config-lgsm/pzserver/_default.cfg
  62. 4
      lgsm/config-default/config-lgsm/q2server/_default.cfg
  63. 4
      lgsm/config-default/config-lgsm/q3server/_default.cfg
  64. 4
      lgsm/config-default/config-lgsm/qlserver/_default.cfg
  65. 4
      lgsm/config-default/config-lgsm/qwserver/_default.cfg
  66. 4
      lgsm/config-default/config-lgsm/ricochetserver/_default.cfg
  67. 4
      lgsm/config-default/config-lgsm/roserver/_default.cfg
  68. 4
      lgsm/config-default/config-lgsm/rtcwserver/_default.cfg
  69. 4
      lgsm/config-default/config-lgsm/rustserver/_default.cfg
  70. 4
      lgsm/config-default/config-lgsm/rwserver/_default.cfg
  71. 4
      lgsm/config-default/config-lgsm/sampserver/_default.cfg
  72. 4
      lgsm/config-default/config-lgsm/sbotsserver/_default.cfg
  73. 4
      lgsm/config-default/config-lgsm/sbserver/_default.cfg
  74. 4
      lgsm/config-default/config-lgsm/sdtdserver/_default.cfg
  75. 4
      lgsm/config-default/config-lgsm/sof2server/_default.cfg
  76. 4
      lgsm/config-default/config-lgsm/squadserver/_default.cfg
  77. 4
      lgsm/config-default/config-lgsm/ss3server/_default.cfg
  78. 4
      lgsm/config-default/config-lgsm/stserver/_default.cfg
  79. 4
      lgsm/config-default/config-lgsm/svenserver/_default.cfg
  80. 4
      lgsm/config-default/config-lgsm/terrariaserver/_default.cfg
  81. 4
      lgsm/config-default/config-lgsm/tf2server/_default.cfg
  82. 4
      lgsm/config-default/config-lgsm/tfcserver/_default.cfg
  83. 4
      lgsm/config-default/config-lgsm/ts3server/_default.cfg
  84. 4
      lgsm/config-default/config-lgsm/tuserver/_default.cfg
  85. 4
      lgsm/config-default/config-lgsm/twserver/_default.cfg
  86. 4
      lgsm/config-default/config-lgsm/untserver/_default.cfg
  87. 4
      lgsm/config-default/config-lgsm/ut2k4server/_default.cfg
  88. 4
      lgsm/config-default/config-lgsm/ut3server/_default.cfg
  89. 4
      lgsm/config-default/config-lgsm/ut99server/_default.cfg
  90. 4
      lgsm/config-default/config-lgsm/utserver/_default.cfg
  91. 4
      lgsm/config-default/config-lgsm/vsserver/_default.cfg
  92. 4
      lgsm/config-default/config-lgsm/wetserver/_default.cfg
  93. 4
      lgsm/config-default/config-lgsm/wurmserver/_default.cfg
  94. 4
      lgsm/config-default/config-lgsm/zpsserver/_default.cfg
  95. 2
      lgsm/functions/command_backup.sh
  96. 2
      lgsm/functions/command_debug.sh
  97. 4
      lgsm/functions/command_dev_debug.sh
  98. 21
      lgsm/functions/command_monitor.sh
  99. 5
      lgsm/functions/command_start.sh
  100. 9
      lgsm/functions/core_messages.sh

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

4
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

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

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

4
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
core_exit.sh

21
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

5
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"

9
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}"

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save