From 0516aeb94f82a01aa8914a58d564da4c95ad1cf9 Mon Sep 17 00:00:00 2001 From: dami Date: Sat, 2 Aug 2025 14:43:19 +0800 Subject: [PATCH] Update linux.sh --- plugins/loki/versions/3.5.3/linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/loki/versions/3.5.3/linux.sh b/plugins/loki/versions/3.5.3/linux.sh index ed529db77..0752ee15c 100644 --- a/plugins/loki/versions/3.5.3/linux.sh +++ b/plugins/loki/versions/3.5.3/linux.sh @@ -36,6 +36,7 @@ Install_App() mkdir -p ${SourceDir} mkdir -p ${InstallDir} mkdir -p ${InstallDir}/bin + mkdir -p ${InstallDir}/data/{chunks,rules,boltdb-shipper-active,boltdb-shipper-cache} if [ ! -f ${SourceDir}/${FILE_TGZ} ];then wget --no-check-certificate -O ${SourceDir}/${FILE_TGZ} https://github.com/grafana/loki/releases/download/v${VERSION}/${FILE_TGZ} @@ -47,7 +48,6 @@ Install_App() if [ ! -d $InstallDir/bin/loki ];then cd ${SourceDir} && unzip ${PT_FILE_TGZ} - mkdir -p ${InstallDir}/data/{chunks,rules,boltdb-shipper-active,boltdb-shipper-cache} cp -rf ./loki-linux-${ARCH_NAME} ${InstallDir}/bin/loki rm -rf ./loki-linux-${ARCH_NAME} fi