Merge pull request #71 from soxft/master

fix: mkdir redis data dir
This commit is contained in:
Mr Chen 2022-06-20 22:02:41 +08:00 committed by GitHub
commit bca42863bb
1 changed files with 1 additions and 0 deletions

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