Browse Source

fix bug

main
xiaoz 12 months ago
parent
commit
c905e61351
  1. 6
      nginx/sh/run.sh

6
nginx/sh/run.sh

@ -28,9 +28,9 @@ function run_check(){
if [ ! -f "/data/xcdn/logs/error.log" ] if [ ! -f "/data/xcdn/logs/error.log" ]
then then
#创建日志文件夹 #创建日志文件夹
mkdir -p /data/logs; mkdir -p /data/xcdn/logs;
touch /data/logs/error.log touch /data/xcdn/logs/error.log
touch /data/logs/stream-access.log touch /data/xcdn/logs/stream-access.log
fi fi
} }

Loading…
Cancel
Save