Browse Source

Alerts will postdetails to allow more info in alert

pull/1639/head
Daniel Gibbs 8 years ago
parent
commit
1b7f2f9626
  1. 2
      lgsm/config-default/config-lgsm/arkserver/_default.cfg
  2. 2
      lgsm/config-default/config-lgsm/arma3server/_default.cfg
  3. 2
      lgsm/config-default/config-lgsm/bb2server/_default.cfg
  4. 2
      lgsm/config-default/config-lgsm/bf1942server/_default.cfg
  5. 2
      lgsm/config-default/config-lgsm/bmdmserver/_default.cfg
  6. 2
      lgsm/config-default/config-lgsm/boserver/_default.cfg
  7. 2
      lgsm/config-default/config-lgsm/bsserver/_default.cfg
  8. 2
      lgsm/config-default/config-lgsm/ccserver/_default.cfg
  9. 2
      lgsm/config-default/config-lgsm/cod2server/_default.cfg
  10. 2
      lgsm/config-default/config-lgsm/cod4server/_default.cfg
  11. 2
      lgsm/config-default/config-lgsm/codserver/_default.cfg
  12. 2
      lgsm/config-default/config-lgsm/coduoserver/_default.cfg
  13. 2
      lgsm/config-default/config-lgsm/codwawserver/_default.cfg
  14. 2
      lgsm/config-default/config-lgsm/coserver/_default.cfg
  15. 2
      lgsm/config-default/config-lgsm/csczserver/_default.cfg
  16. 2
      lgsm/config-default/config-lgsm/csgoserver/_default.cfg
  17. 2
      lgsm/config-default/config-lgsm/csserver/_default.cfg
  18. 2
      lgsm/config-default/config-lgsm/cssserver/_default.cfg
  19. 2
      lgsm/config-default/config-lgsm/dabserver/_default.cfg
  20. 2
      lgsm/config-default/config-lgsm/dmcserver/_default.cfg
  21. 2
      lgsm/config-default/config-lgsm/dodserver/_default.cfg
  22. 2
      lgsm/config-default/config-lgsm/dodsserver/_default.cfg
  23. 2
      lgsm/config-default/config-lgsm/doiserver/_default.cfg
  24. 2
      lgsm/config-default/config-lgsm/dstserver/_default.cfg
  25. 2
      lgsm/config-default/config-lgsm/emserver/_default.cfg
  26. 2
      lgsm/config-default/config-lgsm/fctrserver/_default.cfg
  27. 2
      lgsm/config-default/config-lgsm/fofserver/_default.cfg
  28. 2
      lgsm/config-default/config-lgsm/gesserver/_default.cfg
  29. 2
      lgsm/config-default/config-lgsm/gmodserver/_default.cfg
  30. 2
      lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg
  31. 2
      lgsm/config-default/config-lgsm/hldmserver/_default.cfg
  32. 2
      lgsm/config-default/config-lgsm/hldmsserver/_default.cfg
  33. 2
      lgsm/config-default/config-lgsm/hwserver/_default.cfg
  34. 2
      lgsm/config-default/config-lgsm/insserver/_default.cfg
  35. 2
      lgsm/config-default/config-lgsm/jc2server/_default.cfg
  36. 2
      lgsm/config-default/config-lgsm/kfserver/_default.cfg
  37. 2
      lgsm/config-default/config-lgsm/l4d2server/_default.cfg
  38. 2
      lgsm/config-default/config-lgsm/l4dserver/_default.cfg
  39. 2
      lgsm/config-default/config-lgsm/mcserver/_default.cfg
  40. 2
      lgsm/config-default/config-lgsm/mtaserver/_default.cfg
  41. 2
      lgsm/config-default/config-lgsm/mumbleserver/_default.cfg
  42. 2
      lgsm/config-default/config-lgsm/nmrihserver/_default.cfg
  43. 2
      lgsm/config-default/config-lgsm/ns2cserver/_default.cfg
  44. 2
      lgsm/config-default/config-lgsm/ns2server/_default.cfg
  45. 2
      lgsm/config-default/config-lgsm/opforserver/_default.cfg
  46. 2
      lgsm/config-default/config-lgsm/pcserver/_default.cfg
  47. 2
      lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg
  48. 2
      lgsm/config-default/config-lgsm/pzserver/_default.cfg
  49. 2
      lgsm/config-default/config-lgsm/q2server/_default.cfg
  50. 2
      lgsm/config-default/config-lgsm/q3server/_default.cfg
  51. 2
      lgsm/config-default/config-lgsm/qlserver/_default.cfg
  52. 2
      lgsm/config-default/config-lgsm/qwserver/_default.cfg
  53. 2
      lgsm/config-default/config-lgsm/ricochetserver/_default.cfg
  54. 2
      lgsm/config-default/config-lgsm/roserver/_default.cfg
  55. 2
      lgsm/config-default/config-lgsm/rustserver/_default.cfg
  56. 2
      lgsm/config-default/config-lgsm/sbserver/_default.cfg
  57. 2
      lgsm/config-default/config-lgsm/sdtdserver/_default.cfg
  58. 2
      lgsm/config-default/config-lgsm/squadserver/_default.cfg
  59. 2
      lgsm/config-default/config-lgsm/ss3server/_default.cfg
  60. 2
      lgsm/config-default/config-lgsm/svenserver/_default.cfg
  61. 2
      lgsm/config-default/config-lgsm/terrariaserver/_default.cfg
  62. 2
      lgsm/config-default/config-lgsm/tf2server/_default.cfg
  63. 2
      lgsm/config-default/config-lgsm/tfcserver/_default.cfg
  64. 2
      lgsm/config-default/config-lgsm/ts3server/_default.cfg
  65. 2
      lgsm/config-default/config-lgsm/tuserver/_default.cfg
  66. 2
      lgsm/config-default/config-lgsm/twserver/_default.cfg
  67. 2
      lgsm/config-default/config-lgsm/ut2k4server/_default.cfg
  68. 2
      lgsm/config-default/config-lgsm/ut3server/_default.cfg
  69. 2
      lgsm/config-default/config-lgsm/ut99server/_default.cfg
  70. 2
      lgsm/config-default/config-lgsm/utserver/_default.cfg
  71. 2
      lgsm/config-default/config-lgsm/wetserver/_default.cfg
  72. 26
      lgsm/functions/alert.sh
  73. 21
      lgsm/functions/alert_email.sh
  74. 18
      lgsm/functions/alert_mailgun.sh
  75. 80
      lgsm/functions/command_postdetails.sh
  76. 4
      lgsm/functions/core_legacy.sh

2
lgsm/config-default/config-lgsm/arkserver/_default.cfg

@ -109,7 +109,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/arma3server/_default.cfg

@ -127,7 +127,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/bb2server/_default.cfg

@ -118,7 +118,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/bf1942server/_default.cfg

@ -97,7 +97,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/bmdmserver/_default.cfg

@ -118,7 +118,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/boserver/_default.cfg

@ -108,7 +108,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/bsserver/_default.cfg

@ -117,7 +117,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/ccserver/_default.cfg

@ -113,7 +113,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/cod2server/_default.cfg

@ -97,7 +97,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/cod4server/_default.cfg

@ -97,7 +97,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/codserver/_default.cfg

@ -97,7 +97,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/coduoserver/_default.cfg

@ -97,7 +97,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/codwawserver/_default.cfg

@ -97,7 +97,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/coserver/_default.cfg

@ -141,7 +141,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/csczserver/_default.cfg

@ -113,7 +113,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/csgoserver/_default.cfg

@ -133,7 +133,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/csserver/_default.cfg

@ -110,7 +110,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/cssserver/_default.cfg

@ -115,7 +115,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/dabserver/_default.cfg

@ -110,7 +110,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/dmcserver/_default.cfg

@ -110,7 +110,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/dodserver/_default.cfg

@ -110,7 +110,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/dodsserver/_default.cfg

@ -110,7 +110,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/doiserver/_default.cfg

@ -111,7 +111,7 @@ gamelogdir="${systemdir}/logs"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/dstserver/_default.cfg

@ -120,7 +120,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/emserver/_default.cfg

@ -115,7 +115,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/fctrserver/_default.cfg

@ -100,7 +100,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/fofserver/_default.cfg

@ -110,7 +110,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/gesserver/_default.cfg

@ -109,7 +109,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/gmodserver/_default.cfg

@ -126,7 +126,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/hl2dmserver/_default.cfg

@ -110,7 +110,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/hldmserver/_default.cfg

@ -109,7 +109,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/hldmsserver/_default.cfg

@ -110,7 +110,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/hwserver/_default.cfg

@ -124,7 +124,7 @@ consolelogdir="${logdir}/console"
gamelog="${gamelogdir}/${servicename}-game.log"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
gamelogdate="${gamelogdir}/${servicename}-game-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/insserver/_default.cfg

@ -117,7 +117,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/jc2server/_default.cfg

@ -102,7 +102,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/kfserver/_default.cfg

@ -116,7 +116,7 @@ consolelogdir="${logdir}/console"
gamelog="${gamelogdir}/${servicename}-game.log"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/l4d2server/_default.cfg

@ -109,7 +109,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/l4dserver/_default.cfg

@ -109,7 +109,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/mcserver/_default.cfg

@ -96,7 +96,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/mtaserver/_default.cfg

@ -92,7 +92,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/mumbleserver/_default.cfg

@ -94,7 +94,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/nmrihserver/_default.cfg

@ -115,7 +115,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/ns2cserver/_default.cfg

@ -120,7 +120,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/ns2server/_default.cfg

@ -120,7 +120,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/opforserver/_default.cfg

@ -110,7 +110,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/pcserver/_default.cfg

@ -103,7 +103,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/pvkiiserver/_default.cfg

@ -110,7 +110,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/pzserver/_default.cfg

@ -105,7 +105,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/q2server/_default.cfg

@ -96,7 +96,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/q3server/_default.cfg

@ -96,7 +96,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/qlserver/_default.cfg

@ -108,7 +108,7 @@ consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
gamelog="${gamelogdir}/${servicename}-game.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/qwserver/_default.cfg

@ -95,7 +95,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/ricochetserver/_default.cfg

@ -129,7 +129,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/roserver/_default.cfg

@ -113,7 +113,7 @@ consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
gamelog="${gamelogdir}/${servicename}-game.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/rustserver/_default.cfg

@ -128,7 +128,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/sbserver/_default.cfg

@ -109,7 +109,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/sdtdserver/_default.cfg

@ -110,7 +110,7 @@ consolelogdir="${logdir}/console"
gamelog="${gamelogdir}/${servicename}-game.log"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/squadserver/_default.cfg

@ -109,7 +109,7 @@ consolelogdir="${logdir}/console"
gamelog="${gamelogdir}/${servicename}-game.log"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/ss3server/_default.cfg

@ -107,7 +107,7 @@ consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
gamelog="${gamelogdir}/${servicename}-game.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/svenserver/_default.cfg

@ -109,7 +109,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/terrariaserver/_default.cfg

@ -109,7 +109,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/tf2server/_default.cfg

@ -115,7 +115,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/tfcserver/_default.cfg

@ -110,7 +110,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/ts3server/_default.cfg

@ -88,7 +88,7 @@ logdir="${rootdir}/log"
gamelogdir="${serverfiles}/logs"
lgsmlogdir="${logdir}/script"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/tuserver/_default.cfg

@ -107,7 +107,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/twserver/_default.cfg

@ -110,7 +110,7 @@ consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
gamelog="${gamelogdir}/${servicename}-game.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/ut2k4server/_default.cfg

@ -97,7 +97,7 @@ consolelogdir="${logdir}/console"
gamelog="${gamelogdir}/${servicename}-game.log"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/ut3server/_default.cfg

@ -108,7 +108,7 @@ consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
gamelog="${gamelogdir}/${servicename}-game.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming

2
lgsm/config-default/config-lgsm/ut99server/_default.cfg

@ -96,7 +96,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/utserver/_default.cfg

@ -98,7 +98,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

2
lgsm/config-default/config-lgsm/wetserver/_default.cfg

@ -91,7 +91,7 @@ lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
alertlog="${lgsmlogdir}/${servicename}-alert.log"
## Logs Naming
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"

26
lgsm/functions/alert.sh

@ -7,6 +7,25 @@
local commandname="ALERT"
local commandaction="Alert"
fn_alert_log(){
info_distro.sh
info_config.sh
info_glibc.sh
info_messages.sh
if [ -f "${alertlog}" ]; then
rm "${alertlog}"
fi
{
fn_info_message_head
fn_info_message_distro
fn_info_message_performance
fn_info_message_disk
fn_info_message_gameserver
fn_info_logs
} | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g"| tee -a "${alertlog}" > /dev/null 2>&1
}
fn_alert_test(){
fn_script_log_info "Sending test alert"
alertsubject="Alert - ${servicename} - Test"
@ -52,6 +71,8 @@ fn_alert_permissions(){
alertbody="${servicename} has permissions issues"
}
if [ "${alert}" == "permissions" ]; then
fn_alert_permissions
elif [ "${alert}" == "restart" ]; then
@ -64,6 +85,11 @@ elif [ "${alert}" == "update" ]; then
fn_alert_update
fi
# Generate alert log
fn_alert_log
alert=1
command_postdetails.sh
if [ "${discordalert}" == "on" ]&&[ -n "${discordalert}" ]; then
alert_discord.sh
elif [ "${discordalert}" != "on" ]&&[ "${function_selfname}" == "command_test_alert.sh" ]; then

21
lgsm/functions/alert_email.sh

@ -10,28 +10,11 @@ local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
fn_print_dots "Sending Email alert: ${email}"
sleep 0.5
fn_script_log_info "Sending Email alert: ${email}"
info_distro.sh
info_config.sh
info_glibc.sh
info_messages.sh
if [ -f "${emaillog}" ]; then
rm "${emaillog}"
fi
{
fn_info_message_head
fn_info_message_distro
fn_info_message_performance
fn_info_message_disk
fn_info_message_gameserver
fn_info_logs
} | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g"| tee -a "${emaillog}" > /dev/null 2>&1
if [ -n "${emailfrom}" ]; then
mail -s "${alertsubject}" -r "${emailfrom}" "${email}" < "${emaillog}"
mail -s "${alertsubject}" -r "${emailfrom}" "${email}" < "${alertlog}"
else
mail -s "${alertsubject}" "${email}" < "${emaillog}"
mail -s "${alertsubject}" "${email}" < "${alertlog}"
fi
exitcode=$?
if [ "${exitcode}" == "0" ]; then

18
lgsm/functions/alert_mailgun.sh

@ -10,22 +10,6 @@ local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
fn_print_dots "Sending Email alert: Mailgun: ${email}"
sleep 0.5
info_distro.sh
info_config.sh
info_glibc.sh
info_messages.sh
if [ -f "${emaillog}" ]; then
rm "${emaillog}"
fi
{
fn_info_message_head
fn_info_message_distro
fn_info_message_performance
fn_info_message_disk
fn_info_message_gameserver
fn_info_logs
} | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g"| tee -a "${emaillog}" > /dev/null 2>&1
mailgunsend=$(curl -s --user "api:${mailguntoken}" \
-F from="LinuxGSM <${mailgunemailfrom}>" \
@ -33,7 +17,7 @@ mailgunsend=$(curl -s --user "api:${mailguntoken}" \
-F subject="${alertemoji} ${alertsubject} ${alertemoji}" \
-F o:tag='alert' \
-F o:tag='LinuxGSM' \
-F text="$(cat ${emaillog})" https://api.mailgun.net/v3/${mailgundomain}/messages)
-F text="$(cat ${alertlog})" https://api.mailgun.net/v3/${mailgundomain}/messages)
if [ -z "${mailgunsend}" ]; then
fn_print_fail_nl "Sending Email alert: Mailgun: ${email}"

80
lgsm/functions/command_postdetails.sh

@ -43,38 +43,41 @@ postexpire="${postexpire="30D"}"
# source all of the functions defined in the details command
info_messages.sh
fn_bad_tmpfile() {
fn_print_fail_nl "Unable to create temporary file ${tmpfile}."
fn_bad_postdetailsfile() {
fn_print_fail_nl "Unable to create temporary file ${postdetailsfile}."
core_exit.sh
}
# Rather than a one-pass sed parser, default to using a temporary directory
tmpfile="${tmpdir}/postdetails-$(date +"%Y-%d-%m_%H-%M-%S").tmp"
touch "${tmpfile}" || fn_bad_tmpfile
{
# Run checks and gathers details to display.
check.sh
info_config.sh
info_distro.sh
info_glibc.sh
info_parms.sh
info_messages.sh
fn_info_message_distro
fn_info_message_performance
fn_info_message_disk
fn_info_message_gameserver
fn_info_message_script
fn_info_message_backup
# Some game servers do not have parms.
if [ "${gamename}" != "TeamSpeak 3" ]&&[ "${engine}" != "avalanche" ]&&[ "${engine}" != "dontstarve" ]&&[ "${engine}" != "projectzomboid" ]&&[ "${engine}" != "renderware" ]; then
fn_parms
fn_info_message_commandlineparms
fi
fn_info_message_ports
fn_info_message_select_engine
fn_info_message_statusbottom
} | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g"| tee -a "${tmpfile}" > /dev/null 2>&1
if [ -n "${alert}" ]; then
postdetailsfile="${alertlog}"
else
postdetailsfile="${tmpdir}/postdetails-$(date +"%Y-%d-%m_%H-%M-%S").tmp"
touch "${postdetailsfile}" || fn_bad_postdetailsfile
{
# Run checks and gathers details to display.
check.sh
info_config.sh
info_distro.sh
info_glibc.sh
info_parms.sh
info_messages.sh
fn_info_message_distro
fn_info_message_performance
fn_info_message_disk
fn_info_message_gameserver
fn_info_message_script
fn_info_message_backup
# Some game servers do not have parms.
if [ "${gamename}" != "TeamSpeak 3" ]&&[ "${engine}" != "avalanche" ]&&[ "${engine}" != "dontstarve" ]&&[ "${engine}" != "projectzomboid" ]&&[ "${engine}" != "renderware" ]; then
fn_parms
fn_info_message_commandlineparms
fi
fn_info_message_ports
fn_info_message_select_engine
fn_info_message_statusbottom
} | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g"| tee -a "${postdetailsfile}" > /dev/null 2>&1
fi
if [ "${posttarget}" == "http://pastebin.com" ] ; then
fn_print_dots "Posting details to pastbin.com for ${postexpire}"
@ -89,26 +92,33 @@ if [ "${posttarget}" == "http://pastebin.com" ] ; then
-F "post_key=${csrftoken}" -F "paste_expire_date=${postexpire}" \
-F "paste_name=${gamename} Debug Info" \
-F "paste_format=8" -F "paste_private=0" \
-F "paste_type=bash" -F "paste_code=<${tmpfile}" |
-F "paste_type=bash" -F "paste_code=<${postdetailsfile}" |
awk '/^location: / { print $2 }' | sed "s/\n//g")
# Output the resulting link.
fn_print_ok_nl "Posting details to pastbin.com for ${postexpire}"
echo " Please share the following url for support: ${posttarget}${link}"
pdurl="${posttarget}${link}"
echo " Please share the following url for support: ${pdurl}"
elif [ "${posttarget}" == "https://hastebin.com" ] ; then
fn_print_dots "Posting details to hastebin.com"
sleep 1
# hastebin is a bit simpler. If successful, the returned result
# should look like: {"something":"key"}, putting the reference that
# we need in "key". TODO - error handling. -CedarLUG
link=$(${curlpath} -H "HTTP_X_REQUESTED_WITH:XMLHttpRequest" -s -d "$(<${tmpfile})" "${posttarget}/documents" | cut -d\" -f4)
link=$(${curlpath} -H "HTTP_X_REQUESTED_WITH:XMLHttpRequest" -s -d "$(<${postdetailsfile})" "${posttarget}/documents" | cut -d\" -f4)
fn_print_ok_nl "Posting details to hastebin.com for ${postexpire}"
echo " Please share the following url for support: ${posttarget}/${link}"
pdurl="${posttarget}/${link}"
echo " Please share the following url for support: ${pdurl}"
else
fn_print_warn_nl Review the output in "${tmpfile}"
fn_print_warn_nl Review the output in "${postdetailsfile}"
core_exit.sh
fi
# cleanup
rm "${tmpfile}" || /bin/true
core_exit.sh
rm "${postdetailsfile}" || /bin/true
if [ -n "${alert}" ]; then
core_exit.sh
else
alerturl="${pdurl}"
fi

4
lgsm/functions/core_legacy.sh

@ -36,3 +36,7 @@ fi
if [ -z "${tmpdir}" ]; then
tmpdir="${lgsmdir}/tmp"
fi
if [ -z "${alertlog}" ]; then
alertlog="${emaillog}"
fi
Loading…
Cancel
Save