Browse Source

fix bug

main
xiaoz 7 months ago
parent
commit
6b9965f9db
  1. 2
      redis.conf
  2. 3
      run.sh

2
redis.conf

@ -45,7 +45,7 @@ rdbchecksum yes @@ -45,7 +45,7 @@ rdbchecksum yes
dbfilename dump.rdb
#数据库存储目录
dir /data
dir /opt
replica-serve-stale-data yes

3
run.sh

@ -7,8 +7,11 @@ @@ -7,8 +7,11 @@
#start redis
redis-server /etc/redis.conf
sleep 10
#start php-fpm
php-fpm7 -RD
sleep 5
#start nginx
/usr/sbin/nginx
sleep 5
tail -f /var/log/nginx/error.log

Loading…
Cancel
Save