From c905e613518dd9f4f36614bfb9af825da2e32b4f Mon Sep 17 00:00:00 2001 From: xiaoz Date: Wed, 22 Nov 2023 17:57:12 +0800 Subject: [PATCH] fix bug --- nginx/sh/run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nginx/sh/run.sh b/nginx/sh/run.sh index 33c159c..5be1eca 100644 --- a/nginx/sh/run.sh +++ b/nginx/sh/run.sh @@ -28,9 +28,9 @@ function run_check(){ if [ ! -f "/data/xcdn/logs/error.log" ] then #创建日志文件夹 - mkdir -p /data/logs; - touch /data/logs/error.log - touch /data/logs/stream-access.log + mkdir -p /data/xcdn/logs; + touch /data/xcdn/logs/error.log + touch /data/xcdn/logs/stream-access.log fi }