From 7f4260e1ac79d00edd77a2bccfd7c882b5c55221 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 29 Jun 2019 01:45:28 +0100 Subject: [PATCH] fix(linuxgsm.sh): reverted servicename back to selfname --- linuxgsm.sh | 6 +++--- tests/tests_fctrserver.sh | 2 +- tests/tests_jc2server.sh | 2 +- tests/tests_mcserver.sh | 2 +- tests/tests_ts3server.sh | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/linuxgsm.sh b/linuxgsm.sh index fd56f849d..62a810f9d 100755 --- a/linuxgsm.sh +++ b/linuxgsm.sh @@ -20,12 +20,12 @@ if [ -f ".dev-debug" ]; then set -x fi -version="v19.8.1" +version="v19.8.4" shortname="core" gameservername="core" rootdir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" -servicename="${gameservername}" +servicename="${selfname}" lockselfname=".${servicename}.lock" lgsmdir="${rootdir}/lgsm" logdir="${rootdir}/log" @@ -378,4 +378,4 @@ else getopt=$1 core_getopt.sh fi -fi \ No newline at end of file +fi diff --git a/tests/tests_fctrserver.sh b/tests/tests_fctrserver.sh index ca4bf150f..de29a27d1 100644 --- a/tests/tests_fctrserver.sh +++ b/tests/tests_fctrserver.sh @@ -26,7 +26,7 @@ shortname="fctr" gameservername="fctrserver" rootdir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" -servicename="${gameservername}" +servicename="${selfname}" lockselfname=".${servicename}.lock" lgsmdir="${rootdir}/lgsm" logdir="${rootdir}/log" diff --git a/tests/tests_jc2server.sh b/tests/tests_jc2server.sh index dbcca9b42..065c67f18 100644 --- a/tests/tests_jc2server.sh +++ b/tests/tests_jc2server.sh @@ -26,7 +26,7 @@ shortname="jc2" gameservername="jc2server" rootdir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" -servicename="${gameservername}" +servicename="${selfname}" lockselfname=".${servicename}.lock" lgsmdir="${rootdir}/lgsm" logdir="${rootdir}/log" diff --git a/tests/tests_mcserver.sh b/tests/tests_mcserver.sh index 426851163..4be29da73 100644 --- a/tests/tests_mcserver.sh +++ b/tests/tests_mcserver.sh @@ -26,7 +26,7 @@ shortname="mc" gameservername="mcserver" rootdir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" -servicename="${gameservername}" +servicename="${selfname}" lockselfname=".${servicename}.lock" lgsmdir="${rootdir}/lgsm" logdir="${rootdir}/log" diff --git a/tests/tests_ts3server.sh b/tests/tests_ts3server.sh index d243ef13e..faeb0e616 100644 --- a/tests/tests_ts3server.sh +++ b/tests/tests_ts3server.sh @@ -26,7 +26,7 @@ shortname="ts3" gameservername="ts3server" rootdir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" -servicename="${gameservername}" +servicename="${selfname}" lockselfname=".${servicename}.lock" lgsmdir="${rootdir}/lgsm" logdir="${rootdir}/log"