fix: mkdir redis data dir

This commit is contained in:
xcsoft
2022-06-20 21:56:24 +08:00
committed by GitHub
parent 55d8b1c605
commit 2a569af529
+1
View File
@@ -24,6 +24,7 @@ Install_redis()
cd $serverPath/source && tar -zxvf redis-${VERSION}.tar.gz
mkdir -p $serverPath/redis
mkdir -p $serverPath/redis/data
cd redis-${VERSION} && make PREFIX=$serverPath/redis install
sed '/^ *#/d' redis.conf > $serverPath/redis/redis.conf