diff --git a/lgsm/functions/core_legacy.sh b/lgsm/functions/core_legacy.sh index 1b525b6696..c3efe7b631 100644 --- a/lgsm/functions/core_legacy.sh +++ b/lgsm/functions/core_legacy.sh @@ -41,6 +41,10 @@ if [ -z "${alertlog}" ]; then alertlog="${emaillog}" fi +if [ -z "${servicename}" ]; then + servicename="${selfname}" +fi + # Alternations to workshop variables. if [ -z "${wsapikey}" ]; then if [ "${workshopauth}" ]; then