Procházet zdrojové kódy

fix(legacy): add service name to core_legacy.sh

Daniel Gibbs před 6 roky
rodič
revize
fb69bafcd6
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  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