ソースを参照

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

Daniel Gibbs 6 年 前
コミット
fb69bafcd6
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