@@ -7,7 +7,6 @@
# Runs checks that will either halt on or fix an issue.
local commandnane="CHECK"
-local commandaction="Checking"
# Cannot have selfname as breaks the function.
#local selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
@@ -5,7 +5,6 @@
# Description: If server config missing warn user.
local selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
if [ ! -e "${servercfgfullpath}" ]; then
# Description: Checks that the requires dependencies are installed for LGSM.
# Description: Checks if server has correct glibc or has a fix available.
@@ -6,7 +6,6 @@
# If multiple interfaces are detected the user will need to manualy set using ip="0.0.0.0".
if [ "${gamename}" != "Teamspeak 3" ]; then
# Description: Checks that log files exist on server start
# Create dir's for the script and console logs
# Description: Checks script, files and folders ownership and permissions.
@@ -4,7 +4,6 @@
# Website: https://gameservermanagers.com
if [ $(whoami) = "root" ]; then
# Description: Checks the proccess status of the server. Either online or offline.
if [ "${gamename}" == "Teamspeak 3" ]; then
# Description: Checks SteamCMD is installed and correct.
if [ ! -d "${systemdir}" ]; then
# Description: Checks if tmux is installed as too many users do not RTFM or know how to use Google.
if [ "$(command -v tmux)" ]||[ "$(which tmux >/dev/null 2>&1)" ]||[ -f "/usr/bin/tmux" ]||[ -f "/bin/tmux" ]; then
@@ -80,11 +80,13 @@ fn_monitor_tmux(){
fi
}
+fn_print_dots "${servername}"
+sleep 1
check.sh
logs.sh
info_config.sh
-fn_print_dots "${servername}"
-sleep 1
+
fn_monitor_check_lockfile
fn_monitor_check_update
fn_monitor_msg_checking
@@ -9,6 +9,7 @@ local commandaction="Alert"
fn_print_dots "${servername}"
alert="test"