Daniel Gibbs 6 лет назад
Родитель
Сommit
b0c623f3ec
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      lgsm/functions/core_legacy.sh

+ 4 - 0
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